Viewing 15 posts - 1 through 15 (of 47 total)
Hi, I've been working on a program to allow a non-privileged user to start jobs (s)he doesn't own.
With the correct setup, querying the tables in MSDB is possible. I set...
October 12, 2016 at 1:41 am
Gail,
Many (somewhat belated) thanks for your response.
Unfortunately I won't convince anyone where I work on recoverability grounds.
We are in the extremely luxurious position of being able to take an extended...
October 6, 2015 at 1:53 pm
I thought I'd post a follow-up.
It turned out the replication in question was set up as a snapshot replication. I think a predecessor had tried to set up transactional replication,...
September 17, 2008 at 12:25 am
Here are the instructions I put together for the unpublish and republish of the databases. I'd be grateful for any comments.
Have I missed anything? For example: do I need to...
September 10, 2008 at 2:44 am
Thanks again.
I'll try deleting and redefining the replication.
September 9, 2008 at 6:27 am
Thank you both for your responses.
I'm still trying to understand what's going on (or not, as the case might be).
I don't see a log reader job - which is why...
September 9, 2008 at 4:07 am
Did you try it?
When I used it on your example above it did indeed stop everything in its tracks
- but didn't even print @@error.
Serqiy's comment about the dangers of letting someone...
June 1, 2007 at 2:37 pm
Serqiy's comment set me thinking. Why are you letting someone else send you a SQL string instead of a list of values?
Can you not accept a string like the following...
June 1, 2007 at 6:46 am
Wise words indeed. A little validation may be desireable.
June 1, 2007 at 6:08 am
Apologies, now I understand. I thought you were building the strings.
You could separate the commands. Look at http://www.simple-talk.com/sql/t-sql-programming/the-helper-table-workbench/ for some clever ways of separating a string and putting the...
June 1, 2007 at 6:00 am
At the risk of repeating myself
"Execute only returns status information for the last command presented to it. You need to execute each insert statement separately, testing @@error after each."
Try
June 1, 2007 at 2:27 am
I assume you're getting a syntax error (you didn't say what the problem was ) on the update statement.
Try
Update b
Set desc =...
June 1, 2007 at 2:11 am
Two things I don't understand.
1. "However, I am using SQL Server 2000 and can't change my table structure to use identity type column."
SQL/Server 2000 supports the identity clause. The easiest...
June 1, 2007 at 2:02 am
Be aware you will still see numbers like 87.725239999999999 if you do a select value_str from xxx, even after your update.
See thread http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=367756 for an extensive discussion...
May 31, 2007 at 11:02 am
If you're nesting transactions, be aware that only the last commit actually does anything.
Here's how it works in SQL/Server:
Begin transaction - If @@trancount = 0, sets up transaction processing
Always...
May 31, 2007 at 10:46 am
Viewing 15 posts - 1 through 15 (of 47 total)