python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Initialize SQL Server database in docker container without sqlcmd
I am working on a MacBook Pro with M1 CPU so I can't use the "normal" mssql docker image. I am using azure-sql-edge that doesn't have sqlcmd to initialize the database (create schema, databa...
chenny
Votes: 0
Answers: 3
How to get the list of file present in folder and pass the file name dynamically to loop to get the content present in file using batch script
In a directory, I have a multiple .txt file. For example:
abc.txt
bcd.txt
def.txt
Now in each of these file I have credential information like:
Hostname: 10.87.99.09
username: qwerty
password: ytrewq...
saurabh704
Votes: 0
Answers: 2
How to execute the Stored procedure with output parameter in batch file using SQLCMD?
Below code is throwing an error while executing, it seems there is an issue with OUTPUT parameter.
@ECHO OFF
SET output_Variable = 1;
SQLCMD -S ServerName -d DbName -U UserName -P Password -Q"E...
Sathyanarayanan
Votes: 0
Answers: 1
What is SQLCMD in PowerShell?
I have been trying to develop a function that handles all the SQLCMD requirements for a complex process. This includes mixed connection modes (trusted or username/password), different databases, state...
madturbocow
Votes: 0
Answers: 1