Viewing 15 posts - 241 through 255 (of 1,065 total)
Have a look inn BOL at the definition for the LEN function... it states that it:-
Returns the number of characters of the specified string expression, excluding trailing blanks.
The trailing blank...
July 22, 2010 at 2:22 am
You don't put a WHERE clause on an INSERT statement.
I'm guessing from the name of the table that this is a link table between an Employee and a Course, so...
July 21, 2010 at 1:58 am
I've seen this issue quite a few times before... unless you specify the nullability of a column during your table creation script, you are at the mercy of the software...
January 5, 2010 at 2:23 am
TheSQLGuru (12/24/2009)
My best guess is that one or more of the referenced fields are not indexed, thus requiring a table scan for every insert to validate the FK relationship.
The foreign...
December 24, 2009 at 10:21 am
My initial guess would be that you have a Trigger on the table.
December 23, 2009 at 3:24 am
Have a look at this, it may be what you are looking for:-
http://www.databaseanswers.org/data_models/vets_practice/index.htm
December 16, 2009 at 1:03 am
Found the article:-
December 15, 2009 at 8:52 am
One reason to use COALESCE rather than IsNull... COALESCE is in the ANSI standards, IsNull is a Microsoft extension to the standard.
December 15, 2009 at 8:46 am
GilaMonster (12/15/2009)
Can't recall offhand the reasons why it would do the latter
I'm sure I remember reading somewhere that any change to the Primary Key or a Unique Constraint causes the...
December 15, 2009 at 8:20 am
Are there any triggers on the table?
If so, could be one of them that is causing the issue. Recreating the table makes the problem go away because the new table...
December 15, 2009 at 6:57 am
I know this doesn't answer your original question, but why don't you change the procedure to something like this?
if @Outcome = 0
update hub_user_auth SET attempts =...
December 15, 2009 at 4:49 am
The way I've always done this is to make the last step of the script that stops the trace, load the trace file into a table using fn_trace_gettable, e.g.:-
SELECT *...
December 15, 2009 at 4:01 am
If you read the article carefully, you'll see that this column is only added if you set your transactional replication up so that it supports queued updating subscriptions (poor person's...
December 15, 2009 at 1:02 am
Roy Ernest (11/26/2009)
Merge should be possible in your scenario. Check in Books Online for Merge replication.
I didn't think Merge replication was possible in realtime... is it?
If you have your SQL...
November 26, 2009 at 6:41 am
Viewing 15 posts - 241 through 255 (of 1,065 total)