Viewing 15 posts - 45,091 through 45,105 (of 49,571 total)
Triggers fire after every update. That's how they work. You can put code into the triggers so that they don't do whatever they do in certain cses, but that's all.
Perhaps...
August 14, 2008 at 1:35 am
Do we get a prize for answering correctly?
Remember that "_" is a single character wildcard in SQL, like "?" is in access.
August 14, 2008 at 1:30 am
Ratheesh.K.Nair (8/13/2008)
CAn anyone please explain what is -c and -f ???
Look in Books online under the section "Using the SQL Server Service Startup Options". It lists all of the command...
August 14, 2008 at 1:29 am
bhuvnesh.dogra (8/14/2008)
Dude please tel how to do it
I did.
Create a SQL login on that server.
Give that login just the rights that it needs for what you are doing...
August 14, 2008 at 1:28 am
Firstly, there's no such thing as a before trigger. The two types in SQL are instead of and after.
A trigger will fire once per operation, not once per row. After...
August 14, 2008 at 1:22 am
That's good to hear.
Daily is perhaps overkill. CheckDB is a very intensive operation. Running it weekly, over a weekend is probably adequate.
August 14, 2008 at 1:13 am
bhuvnesh.dogra (8/13/2008)
But i enabled 4th option where i nedded to put remote login nad i put sa authentication.
Very, very bad idea. The mapping is fine, but it should be mapped...
August 14, 2008 at 1:12 am
j2r (8/13/2008)
Does the index being specified as -1 mean that this is a data page that's corrupt?
No. It means SQL hasn't got the vaguest clue what this page is...
August 13, 2008 at 2:54 pm
There should have been another line in the checkDB output saying what level was required to fix. What did it say?
Since you have no good backup, the only way to...
August 13, 2008 at 1:39 pm
Brandie Tarvin (8/13/2008)
A) with the Alter Table Alter column to set...
August 13, 2008 at 1:19 pm
Brandie Tarvin (8/13/2008)
I looked and looked in BOL, but it doesn't have this as a code reference.
There is, it's just a little hidden. Right at the bottom of...
August 13, 2008 at 10:21 am
I may be miles off, but you haven't said which column to put the fk on. Maybe this?
Alter Table TableA
Add Constraint FK_TableA_TimeKey Foreign Key (TimeKey) References dbo.DimTime (TimeKey);
August 13, 2008 at 10:07 am
Neither should cause a table scan because you don't have a function on the column. If's functions on the columns that prevent index usage.
You may be prone to parameter sniffing...
August 13, 2008 at 9:40 am
The code flow is such that after the commit is reached, execution goes past the Errblock label and executes rollback. Of course, seeing as the transaction has just committed, there's...
August 13, 2008 at 9:38 am
Of course, then there's the question of why the application wants to know the columns of the indexes in the first place...
August 13, 2008 at 9:05 am
Viewing 15 posts - 45,091 through 45,105 (of 49,571 total)