Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

SQLCMD format issue

$
0
0
Hello All, I am trying to export data using SQLCMD. One of the columns in the table has the FLOAT data type with all the values for that column is 1.when I select * from table in SSMS the result is correct.Column_Name------111However when I use SQLCMD it returns Column_Name-------1.01.01.0This only happens when I run SQLCMD on a SQL server 2014. I have tested it on 2008 R2 and it works fine. I could use the convert or cast function but that would defeat the purpose of comparing data from 2 databases. Also I am unable to change the data type for that column.

Viewing all articles
Browse latest Browse all 3145

Trending Articles