Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
We can generate the scripts for all database objects manually but I want to automate this process. Is there anyway to generate scripts at a specific interval of time or can we set a job to execute to generate scripts in SQL Server 2012?
SqlPackage.EXE
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.
SqlPackage.EXEto generate a .dacpac if that is acceptable. Like any command line tool it can be scheduled in SQL Agent.