Viewing 15 posts - 691 through 705 (of 726 total)
When testing dynamic SQL, I've found that replacing the EXEC with a PRINT statement usually makes the problem obvious. In fact, I almost always have two lines, one with EXEC @varname...
May 22, 2006 at 10:29 pm
It seems like you are comparing apples and oranges. To see if the problem is with the variable, change your constant to have the exact same value as the variable...
May 17, 2006 at 3:32 pm
I have a feeling you're just seeing the results of caching. Try switching the order you run them in and see what happens. If it's not a caching issue, please give...
May 17, 2006 at 3:11 pm
It's due to the brackets "[]".
Like sees the brackets as surrounding a pattern, and therefore actually is ignoring them in the comparison. In your string returned from the table, the...
May 17, 2006 at 2:20 pm
Unless I'm missing something, everything about the dupe rows is duped except for the column that you want summed. If that's the case, why not just SELECT INTO a new table,...
May 17, 2006 at 1:25 pm
The N denotes that that string is Unicode. Think of nvarchar versus varchar.
I don't remember the reasoning, but I'm pretty sure that "::" precedes system UDFs, i.e. built-in ones.
May 17, 2006 at 12:25 pm
The procedure that executes for this report is currently processing a "conditional", such as "IF" or "WHILE". If it's hanging, I'm guessing that the expression tested with IF or WHILE...
May 15, 2006 at 3:30 pm
Sorry about the simulpost, rsharma. It wasn't there when I previewed, but was when I posted.
May 15, 2006 at 3:25 pm
If each location is limited to 1 client, you could put your Primary location identifier into the location table instead of the client table.
May 15, 2006 at 3:24 pm
The only thing I can think of is if the .dll for xp_fixeddrives uses 40 bit integers for some reason. If unsigned, that would make the largest value 1,099,511,627,775. If...
May 15, 2006 at 2:25 pm
If memory serves, there are some things that even get by the quite good IsReallyNumeric function. I believe it was numbers with multiple decimal places in them, such as 12.56.12.
I...
May 15, 2006 at 10:33 am
Unless I'm having a brain fart, it seems like the only way records would be returned under your proposed criteria is if both the start and end date were today,...
May 12, 2006 at 7:34 am
You'll need to use the extended properties, and yes, it is like creating your own "description" column, but that's what you're doing when you add a description through the GUI,...
May 9, 2006 at 2:48 pm
You could point them to BOL, which explicitly states this. Check out the MODIFY FILE description section under the ALTER DATABASE help screen, and you'll at least have evidence that...
May 9, 2006 at 2:26 pm
I probably didn't describe that clearly enough. It's not the number of databases being altered per batch that's the problem. It's the number of changes per database that is the...
May 9, 2006 at 1:14 pm
Viewing 15 posts - 691 through 705 (of 726 total)