Viewing 15 posts - 22,486 through 22,500 (of 59,072 total)
Polymorphist (11/11/2014)
I'm really stuck on this issue i'm having today. Here's my set-up:
1) I created a SQL Agent job which calls an .exe file to connect to...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2014 at 12:51 pm
Jake Shelton (11/12/2014)
We have an 3rd party backup software that requires Sysadmin rights (I know - I don't like it but that's what they bought, grrr!), however when the...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2014 at 12:49 pm
If the email address are, indeed, prevalidated, then there's no need for a triple reverse nor any use of DelimitedSplit8K, which actually returns too much information in this case. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2014 at 12:41 pm
klineandking (11/11/2014)
i have asked the question,assume both tables are a heap,how would you update the table in batches of 5000
Unless there's an index on the EncryptionID of both tables, the...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2014 at 8:46 am
Never mind. I believe the following does what you ask. You'll need to change the table name in the FROM clause to whatever your tablename actually is. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 10, 2014 at 8:34 pm
tamer.h (11/10/2014)
here is a table shows the dates and times of entry and exit of staff throughout the day, where each record shows that either employee's entry...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 10, 2014 at 5:37 pm
What this whole thing looks like is the possibility of SQL Injection. It also looks like a "Catch All" query and the proper way to do it can be...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 10, 2014 at 5:13 pm
Caching is a good idea but with only 10,000 rows, this should be sub-second. The correct indexes will make that happen.
Shifting gears a bit, if you really...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 10, 2014 at 3:56 pm
thottle (11/10/2014)
Are you absolutely sure that something other than WidgetA and WidgetB have data for the last 7 days?
Yes. If it doesn't, dataset 2 tossed up a blank report,...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 10, 2014 at 3:04 pm
chandrachamarthi8 (11/10/2014)
it display the schema on the result
Look carefully. Are you sure that it shouldn't be spelled "customer" instead of "coustmer"?
--Jeff Moden
Change is inevitable... Change for the better is not.
November 10, 2014 at 2:59 pm
thottle (11/10/2014)
I wrote a report that pulls datasets from two different SPROCs.
Dataset 1 has the following code (sanitized to protect the...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 10, 2014 at 2:43 pm
mhildebrand (11/10/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
November 10, 2014 at 2:37 pm
Do you have the correct indexes on the table to support the hierarical lookups caused by the recurssion of the CTE? Also, who is going to read 10,000 rows?
--Jeff Moden
Change is inevitable... Change for the better is not.
November 10, 2014 at 9:34 am
If it's supposed to be based on ISO week number, substitute the ISOWEEK datepart in Sean's good code above.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 10, 2014 at 7:40 am
haichells (11/10/2014)
I have a 2008 database where I take Full backup on Saturday and Log backup (once in a day) for rest of the days. Here my log backup files...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 10, 2014 at 7:34 am
Viewing 15 posts - 22,486 through 22,500 (of 59,072 total)