I want to select some values from a table . I want a text output . Now what iam doing is iam writing a procedure to convert the selected values into text . But its really time consuming . Is there anythng , means any system functions or sp's in SQL to implement this....?
Or CONVERT(nvarchar(50), MyCol)
Randolph Potter
2009-09-17 07:25:40
I prefer how CAST scans
Mitch Wheat
2009-09-17 07:26:33
...as in the English 'scans' not table scans!
Mitch Wheat
2009-09-17 07:27:04
A:
Or something like this select CAST('some test string' AS ntext)
Microsoft has a graph of valid casts in sql-server at http://msdn.microsoft.com/en-us/library/ms187928.aspx
Jo Erlandsen
2009-09-17 07:25:54