How to supress hyphens in SQLCMD

Siseemine

New Member
How can I supress hyphens (------------) from the results set of this \[code\]sqlcmd\[/code\] command:\[code\]C:\temp>sqlcmd -d AdventureWorks -s ";" -Q "SET NOCOUNT ON SELECT top 5 FirstName, LastName FROM Person.Contact;"FirstName ;LastName--------------------------------------------------;----------------------------Gustavo ;AchongCatherine ;AbelKim ;AbercrombieHumberto ;AcevedoPilar ;AckermanC:\temp>\[/code\]
 
Top