Insights of a Full Stack dev
Thursday, 24 March 2016
Run all SQL files in a directory
Add this .bat file to the directory and run it:
for
%%
G
in
(*.
sql
)
do sqlcmd
/
S servername
/
d databaseName
-
E
-
i
"%%G"
pause
Adding speech marks around a list of data
# Ever had to add text characters to a list of data, like speech marks to each line before and after the data and a comma?
Here's an example of how to do this using Notepad++:
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)