Hi guys
I want to format the result of a SQL Statement carried out in the query analyzer. Example:
suppose that you have this table:
col1 col2
-------- --------
abcdefg bdbsjjdasjdh
bdfjsjdf hasdasjdasj
jhsdjhd asjdhashdas
hasjdhj ahsjdhajshdj
and I want this output:
col1 col2
---- ------
abcdefg bdbsjjdasjdh
bdfjsjdf hasdasjdasj
jhsdjhd asjdhashdas
hasjdhj ahsjdhajshdjand the difference is?|||What is the difference between two outputs?|||above the example is not appearing like I want but I want to delimite the size of a column setting the tool.|||Originally posted by joelperez
Hi guys
I want to format the result of a SQL Statement carried out in the query analyzer. Example:
suppose that you have this table:
col1 col2
-------- --------
abcdefg bdbsjjdasjdh
bdfjsjdf hasdasjdasj
jhsdjhd asjdhashdas
hasjdhj ahsjdhajshdj
and I want this output:
col1 col2
---- ------
abcdefg bdbsjjdasjdh
bdfjsjdf hasdasjdasj
jhsdjhd asjdhashdas
hasjdhj ahsjdhajshdj
left(col1,10) ?|||Originally posted by snail
left(col1,10) ?
yes left function for me!!!
Thanks!!!|||...or use CAST or CONVERT to specify the column widths of the resulting fields.|||Originally posted by blindman
...or use CAST or CONVERT to specify the column widths of the resulting fields.
Thanks for your recommendation blindman
Showing posts with label examplesuppose. Show all posts
Showing posts with label examplesuppose. Show all posts
Subscribe to:
Posts (Atom)