Viewing 15 posts - 61 through 75 (of 441 total)
The query probably can run much faster, we can help you tune it if you provide the information we need.
We need the DDL scripts, with sample data in a ready...
March 9, 2010 at 7:07 am
What you are referencing seems to be a named instance, by which, you can install multiple instance:
MachineName/InstanceName. Therefore, when you installed your sql server, you must have specified a named...
March 8, 2010 at 2:22 pm
itskumar2004 (3/4/2010)
I have done it by creating cursors inside a cursor..i got it.
Damn, I felt Jeff almost got a Heart attack :w00t: Are you sure there is no way...
March 4, 2010 at 1:23 pm
Sorry, I read your post again, and you made it clear you wanted to select from another table.
In this case, you have to add parenthesis around your select :
SELECT TOP...
March 4, 2010 at 1:16 pm
tnocella (3/4/2010)
March 4, 2010 at 1:13 pm
1.How many parameters can there be in the table (there is 10 right now). Can we have more, or less numbers in the table?
2.How many of these parameters must be...
February 23, 2010 at 1:21 pm
You did not post any DDL information, nor sample data, so I cannot test it, but here's a shot in the dark...
This should work:
SELECT rim_no ,
...
February 23, 2010 at 12:50 pm
I agree with Wayne on this one, if you want to use the same plan, sp_ExecuteSQL is the way to go. And if you want different plans based on certain...
February 22, 2010 at 2:03 pm
Thanks Peter, it makes sense that limiting the number of rows in the tally table makes it faster. I'm just surprised the "Where len(value) <= tally.N" did not make it...
February 18, 2010 at 2:01 pm
I have a weird behavior when using your stripping function. Seems the weird triangle in the third example translates to a question mark... I'm not sure of that behavior, maybe...
February 18, 2010 at 8:47 am
Nice Lowell, very interesting stripping function you got there, thanks for sharing.
I'm not sure about the "like" you have used, I use like a lot, but never used it to...
February 18, 2010 at 8:42 am
You don't assign any values in your update statement, that is why it's wrong..
Lookup BOL to see how an update statement is done, you have to assign values to each...
February 17, 2010 at 11:41 am
This is exactly what the "Row_Number()" function will allow you to do, read it up in Books Online.
February 11, 2010 at 12:16 pm
Lookup Row_Number() in Books online, it is what you are looking for.
February 11, 2010 at 12:02 pm
Viewing 15 posts - 61 through 75 (of 441 total)