Viewing 15 posts - 10,501 through 10,515 (of 15,381 total)
PiMané (10/4/2012)
Is it safe to say that XML data type should be used to store data, instead of creating more columns on the table, data that won't be searched. If...
October 4, 2012 at 11:35 am
The first time I ran the query below I thought it didn't update correctly (as I suspected). But subsequent runs are successful every time.
You think it didn't work or...
October 4, 2012 at 11:30 am
I agree this process sounds like it was not well designed. How do you handle things like credit card rejections or simply typing in bad info? By that point the...
October 4, 2012 at 11:00 am
haiao2000 (10/4/2012)
Eventually I run into performance issue when number records being so large. Could you suggest another method of doing tree drill down?
Thanks!
You do realize this thread is 5 years...
October 4, 2012 at 10:18 am
Another great article is here. http://www.sqlservercentral.com/articles/Performance/71549/%5B/url%5D
And for what it is worth the NOLOCK hint is not a magic go fast pill. It comes with a lot of other concerns, like...
October 4, 2012 at 10:16 am
SQLSACT (10/4/2012)
I understand that parameter sniffing is a good thing
It becomes a bad thing when the parameters used in the first execution of the Procedure are atypical to the...
October 4, 2012 at 9:38 am
Here is an example of doing this both ways:
First is the Delimited string method. The code for the DelimitedSplit8K function can be found at the link in my signature about...
October 4, 2012 at 9:32 am
What you need to do is either use a table valued parameter or change your datatype to a varchar and then split the variable inside the proc.
If your...
October 4, 2012 at 9:07 am
vijayarani87.s (10/4/2012)
Does anyone have idea about octopus deployment.....
Not to sound rude but have tried (insert your search engine of choice)???
October 4, 2012 at 7:58 am
L' Eomot Inversé (10/4/2012)
Sean Lange (10/3/2012)
... Isn't LIKE as good as >= for index seeks?!?
NO LIKE is not SARGable so you will get scans. It has to examine every row...
October 4, 2012 at 7:45 am
haiao2000 (10/3/2012)
And if you want to avoid the natural tendency to do some sort of looping to build your dynamic sql you can do something like this.
select 'insert YourNewTable select'...
October 4, 2012 at 7:28 am
These three payment methods have different data requirements:
1. Checks only need Payment Amount and Check Number (for our requirements).
2. ACH transactions only need Bank Name, Routing Number and Account...
October 3, 2012 at 2:18 pm
haiao2000 (10/3/2012)
SELECT COLUMN_NAME FROM SourceDbName.dbo.INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME='';
if you want to do all in sql, them you may have to build...
October 3, 2012 at 1:23 pm
jrichards54 (10/2/2012)
October 3, 2012 at 12:20 pm
surma.sql (10/3/2012)
Sean Lange (10/3/2012)
select *, ROW_NUMBER() over (PARTITION BY cStudentId Order by dtEnrollmentDate) as RowNum
from #temp1
ok, i got it.
But in my requirement, I insert the output to another table and...
October 3, 2012 at 12:16 pm
Viewing 15 posts - 10,501 through 10,515 (of 15,381 total)