Best Software for 2025 is now live!
SF
Payment Specialist at LBrands

What is the best way to save your queries?

I save them in a word document but I was curious to see if you could save them in SQL.
4 comments
Looks like you’re not logged in.
Users need to be logged in to answer questions
Log In
Michel S.
MS
Database Developer
0
GitHub is a platform for source control.
Looks like you’re not logged in.
Users need to be logged in to write comments
Log In
Reply
Dr. Deepak S.
DS
Sr. Lead Automation AND Performance Engineering - Venture7 Technology Pvt. Ltd, Faridabad
0
Them as a text file in the default folder of SQL server.
Looks like you’re not logged in.
Users need to be logged in to write comments
Log In
Reply
Srinivasa T.
ST
Senior Consultant at Venturiq
0
You can create a Database project and add it to any source control like Git, which will maintains the versions properly, also you can retrieve them when needed with modification history.
Looks like you’re not logged in.
Users need to be logged in to write comments
Log In
Reply
CA
Systems Engineer
0
I recommend that you use the saved querys in plain text or .sql or txt format you can use the same sql server query creator or a notepad +++ tool, they are my recommendations that I give to avoid any blank spaces that you generate in word and that the word processor can take a format in your strange sql statement and generate a syntax error.
Looks like you’re not logged in.
Users need to be logged in to write comments
Log In
Reply