Discussion:
query analyzer result set
(时间太久无法回复)
2007-06-01 08:00:36 UTC
Permalink
hi,
Can I replace NULL to a blank in Query Analyzer Result Set ?

Thanks.
lanWay
2007-06-02 02:43:23 UTC
Permalink
±zŠn:
§A¥i¥HšÏ¥Îisnull(yourfield,' ')šçŒÆšÓ³B²z
<none> Œ¶Œg©ó¶l¥ó·s»D:***@TK2MSFTNGP04.phx.gbl...
hi,
Can I replace NULL to a blank in Query Analyzer Result Set ?

Thanks.
2007-06-02 05:41:40 UTC
Permalink
hi,
ÁÂÁ§AªºŠ^µª,SQL SCRIPT§ÚªŸ¹D¬O¥i¥H¥ÎISNULL©ÎªÌCOALESCEšÓÂàŽ«ªº.
§Ú¬O·Q°ÝŠbQuery Analyzer Result Set €€¬O§_Š³OPTION ¥i¥H±NNULL ªºÄæŠìµ²ªG €£­nÅã¥ÜNULL


"lanWay" <***@hotmail.com> Œ¶Œg©ó¶l¥ó·s»D:%233JFG$***@TK2MSFTNGP05.phx.gbl...
±zŠn:
§A¥i¥HšÏ¥Îisnull(yourfield,' ')šçŒÆšÓ³B²z
<none> Œ¶Œg©ó¶l¥ó·s»D:***@TK2MSFTNGP04.phx.gbl...
hi,
Can I replace NULL to a blank in Query Analyzer Result Set ?

Thanks.
RM
2007-06-03 04:43:03 UTC
Permalink
Not as I know.
hi,
謝謝你的回答,SQL SCRIPT我知道是可以用ISNULL或者COALESCE來轉換的.
我是想問在Query Analyzer Result Set 中是否有OPTION 可以將NULL 的欄位結果 不要顯示NULL
你可以使用isnull(yourfield,' ')函數來處理
hi,
Can I replace NULL to a blank in Query Analyzer Result Set ?
Thanks.
Loading...