Skip to content Skip to sidebar Skip to footer
Showing posts with the label Sqlcmd

Error Trying To Connect To A Sql Server Using Sqlcmd (from Ubuntu Command Line)?

I am finding some problem trying to connect to a SQL Server instance from an Ubuntu machine using s… Read more Error Trying To Connect To A Sql Server Using Sqlcmd (from Ubuntu Command Line)?

Create Scheduler Task To Invoke Sqlcmd

I have a Requirement where i have to run a SQL Script in SQL server on a weekly basis .Result of th… Read more Create Scheduler Task To Invoke Sqlcmd

Login Failed For User 'nt Authority\anonymous Logon' In Sql Server 2008

I am executing a script by using file like below: EXEC master.dbo.xp_cmdshell 'sqlcmd -d TE07 -… Read more Login Failed For User 'nt Authority\anonymous Logon' In Sql Server 2008

Sqlcmd.exe - Shared Memory Provider: No Process Is On The Other End Of The Pipe

I have read numerous posts and articles about the error: Shared Memory Provider: No process is on … Read more Sqlcmd.exe - Shared Memory Provider: No Process Is On The Other End Of The Pipe

I Need Best Practice In T-sql Export Data To Csv (with Header)

What I need to do is export data into CSV file using T-SQL. And I'm very confused about there a… Read more I Need Best Practice In T-sql Export Data To Csv (with Header)

Incorrect Syntax Near 's' When Passing String Parameter

In c# I have the following lines of code: string mySqlStmt = 'SELECT CASE WHEN (SELECT COUNT(*… Read more Incorrect Syntax Near 's' When Passing String Parameter

Executing Create View & Alter View From Sqlcmd

I'm trying to execute a sql file with the following contents using sql cmd. sqlcmd -S localhost… Read more Executing Create View & Alter View From Sqlcmd

Formatting Output In Sqlcmd Mode?

Is there a way I can specify output file format in SQLCMD mode so that I can read it back using BUL… Read more Formatting Output In Sqlcmd Mode?