Viewing 15 posts - 12,661 through 12,675 (of 14,953 total)
Jeff Moden (7/23/2008)
That scenario (like many) audits the wrong thing... you should only Audit the DELETED table... the current value is always in the original table.
Yes, that's one possible...
July 23, 2008 at 11:22 am
It looks to me like you've got a reasonably efficient proc there, so I have to ask, why do you want to change it to a view, instead of keeping...
July 23, 2008 at 8:01 am
Grant Execute permission on xp_cmdshell in Master to the user.
July 23, 2008 at 7:48 am
You can use "Select Top 20 ... Order By NewID()" (with the columns and tables in there where I have the elipses). That will give you a reasonably random...
July 23, 2008 at 7:45 am
I guess it depends on what data you are trying to move.
Most likely, a simple "Insert...Select" will do it. But I would need more information (possibly table structure), to...
July 23, 2008 at 7:43 am
I don't follow you.
Here's the scenario I'm talking about:
Table1 has a logging trigger on it that follows the "after-only" model I wrote about, because it's usual use is 10-20 updates...
July 23, 2008 at 7:41 am
My usual practice is to break up maintenance plans a bit. I'll rebuild some indexes one night, other indexes the next night, etc., and schedule that to repeat weekly/monthly.
Takes...
July 23, 2008 at 7:32 am
Anders Pedersen (7/23/2008)
Gsquared must be a gamer 😉
Yeah. But I don't use "Chatroom" as a language except for humor.
Yes, "ORLY" = "Oh, Really?", with a humorous overtone.
July 23, 2008 at 7:30 am
If you just do the "after-only" logging, to save space in the log for a table that gets far more updates than inserts, you need the original data, or you...
July 23, 2008 at 7:20 am
Is the browser service running? ("SQL Server Browser")
July 22, 2008 at 3:13 pm
I have two different responses that I thought of for this article, and I really can't choose between them.
First response:
I find this whole editorial offensive!!
Second response:
Puns!
Everybody likes puns!
You every meet...
July 22, 2008 at 3:09 pm
Load the data from the Oracle database into a temp table (the same stuff you're querying here, of course), then join to that temp table instead. See if that...
July 22, 2008 at 3:01 pm
It's an Enterprise Edition feature. The reason the option exists is because you use the same Management Studio for all versions, even for multiple servers with different versions, at...
July 22, 2008 at 2:58 pm
Jeff Moden (7/22/2008)
He was talking about me blazing through posts and missing stuff...:)
ORLY? (That was the whole point of my post.)
July 22, 2008 at 2:55 pm
Viewing 15 posts - 12,661 through 12,675 (of 14,953 total)