Viewing 15 posts - 9,556 through 9,570 (of 13,460 total)
lot of one line questions from you; without details, google and research may be your best bet;
look at teh execution plan and determine if any indexes would help; make sure...
Lowell
May 2, 2010 at 5:32 am
take a look in books on line for the try-catch statement;
if an error is raised, you can put in some logic to do something different that failed in the TRY
Lowell
May 2, 2010 at 5:31 am
Digs thanks; as always, you post everything someone might need to test the scenario. I really appreciate it.
this was interesting as heck; i got similar results when trying to use...
Lowell
May 1, 2010 at 7:56 pm
yeah from a SQL perspective, an update that affects zero rows is not an "error", but from your perspective it's a logical error, as you expected at least one row...
Lowell
May 1, 2010 at 6:28 am
craig 84462 (5/1/2010)
Lowell
May 1, 2010 at 6:23 am
if it's a class exercise, I'm sure if you read the instructions for the exercise, or maybe read the chapter in your study materials for the course, it will cover...
Lowell
May 1, 2010 at 6:16 am
the script you pasted, assuming a missing closing-parenthesis, makes [IsRegistered] the table's primary key; was that the desired results? was there something missing like a comma and the rest of...
Lowell
April 30, 2010 at 5:06 pm
not directly from MS, no table level backups.
I believe some of the RedGate stuff does it, and i know you can script out the table and the data right from...
Lowell
April 30, 2010 at 4:55 pm
David Portas (4/30/2010)
Why would you do that? Use one table with a month number column and you won't have to use dynamic SQL at all.
excellent point, David. sometimes you need...
Lowell
April 30, 2010 at 12:29 pm
Danny i think this is just a basic syntax issue;
if you are building a string that ahs a single quote in it, two single quotes in a row signify the...
Lowell
April 30, 2010 at 11:56 am
replication does not require a constant connection; merge replication, for example, would stack up untill it got PULLED; log shipping would be up to the other end to grab...
Lowell
April 30, 2010 at 11:52 am
I want to replace 2 and 4 with 5 and 6.
--edited and removed when i found out it was homework.
For homework, me pasting a solution helps noone; you never learn...
Lowell
April 30, 2010 at 11:45 am
even with the maximum compression settings a backup file that compresses to 200meg might go to 189meg with higher compression; there is no miracle compression that will shrink a gig...
Lowell
April 30, 2010 at 11:28 am
what would the function do with the values if it got them? you might be looking at a problem head on, when a sideways look might present a better solution.
what...
Lowell
April 30, 2010 at 11:19 am
chaturvedi.garima (4/30/2010)
The variable is initialized in a stored procedure with the value present in a table.
It is disappearing at later point of time.The data type of variable is Char.
Tried to...
Lowell
April 30, 2010 at 11:15 am
Viewing 15 posts - 9,556 through 9,570 (of 13,460 total)