D
D
DVoropaev2017-09-29 10:22:49
linux
DVoropaev, 2017-09-29 10:22:49

How to work in sqlcmd under linux?

There is a code in the text file that needs to be executed in sql.
I run it :
sqlcmd -S localhost -U SA
I select the code, I copy it, but only the first line is inserted into the console.
How can I insert a large block of code at once?
How can you execute the entire file?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugen L, 2017-09-29
@KBegemoT

try bash script

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question