-
Aug 22nd, 2024, 05:34 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] Prevent query execution in wrong Db
I would like to add a safeguard to stop me from accidently executing a query on a Db. I have two Dbs on the same instance, one for development and one for production. I sometimes use Transaction but I can get careless and leave the Commit line in. Is there another way to ensure the Db name is that of the development Db? I was thinking of something that would check the Db name and abort is not desired.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|