Format using SQL server
I'm new to SQL server. My question here is how can I format the data that is retrieved as a result of SELECT.
Similar defining the column format in SQL Plus. For some reason SQL Server puts in extra spaces between the data fields in the .dat file.
[265 byte] By [
Mrishi] at [2007-12-19]
If you have additional trainling spaces, it seems that you specified a fixed character length instead of a variable. THe data won′t be chopped until you will specify it either in the table structure or within the Select statement while pumpoing the data out of the database (CONVERT).
HTH, jens Suessmeyer.
http://www.sqlserver2005.de