Can you please help me how to execute a stored procedure automatically in SQL database without any transaction in SQL? I want to execute on particular fix time.
Sql-server – How to automatically execute a stored procedure every day at a particular time
scheduled-taskssql serversql-server-2008-r2sql-server-express
Related Question
- SQL Server – How to Execute a Stored Procedure Daily
- Sql-server – Reviewing Stored Procedure template for handling transaction
- Sql-server – Sql Server Stored procedure exicution taken long time
- Sql-server – MSSQL – GRANT EXECUTE permission inside stored procedure
- Sql-server – Stored procedure optimization
- Sql-server – Execute Stored Procedure with SET LOCK_TIMEOUT
- SQL Server – How to Get Database Name in Stored Procedure
- SQL Server – Reseed Identity in Stored Procedure
Best Answer
If you are not comfortable using Powershell, then you can go for native service broker functionality.
This might sound complex, but below links has all the scripts :
Scheduling Jobs in SQL Server Express - Part 1 and
Scheduling Jobs in SQL Server Express - Part 2
Alternatively, you can use Standalone SQL Agent - still in BETA statge from codeplex.
You can use the native sqlcmd functionality and then schedule it using windows scheduler or Schtasks