Viewing 15 posts - 13,816 through 13,830 (of 26,486 total)
Please read the first article I reference in my signature block below. Follow the instructions on what and how to post the information we need to help you. ...
March 13, 2012 at 11:01 am
What would help is if you have (or create) a sandbox database where you can test your scripts outside of your database to ensure that they work before posting them.
March 13, 2012 at 10:57 am
greg.bull (3/13/2012)
Well that's 14 views and no responses. I knew this would be tricky...
Also, we are volunteers. We may have read it, just didn't have time to work it.
March 13, 2012 at 10:17 am
Try this is a test environment.
delete from TABLEA
where exists(select Personid from TABLEA except select Personid from TABLEB);
March 13, 2012 at 10:10 am
Eugene Elutin (3/13/2012)
Lynn Pettis (3/13/2012)
Eugene Elutin (3/13/2012)
March 13, 2012 at 9:56 am
Here is a rewrite of the TVF as an inline TVF without a loop:
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[udf_DateInc]') AND type in (N'FN', N'IF', N'TF',...
March 13, 2012 at 9:53 am
Eugene Elutin (3/13/2012)
Can someone explain why everyone suggesting huge concatenation logic when date in YYYYMMDD format can be produced as a simple convert with option 112 for ISO?
Don't know....
March 13, 2012 at 9:34 am
capn.hector (3/4/2012)
March 13, 2012 at 9:23 am
Try this:
cast(year(EffectiveDate) as char(4)) + right('0' + cast(month(EffectiveDate) as varchar(3)), 2) + right('0' + cast(day(EffectiveDate) as varchar(3)), 2)
March 13, 2012 at 9:16 am
GilaMonster (3/13/2012)
Ken at work (3/13/2012)
So in addition to that you're saying that SQL 2005 may run somewhat slower on some queries. Swell!
A very small percentage of queries (and I mean...
March 13, 2012 at 9:03 am
mtillman-921105 (3/13/2012)
Lynn Pettis (3/13/2012)[hr
Do you know why noone writes viruses that attack Lotus Notes? It is a virus. 😛
Ha! That's about right.
'Hate to beat up on...
March 13, 2012 at 8:45 am
If you would like better answers, please take the time to read the first article I reference below in my signature block regarding asking for help. Follow the instructions...
March 13, 2012 at 8:31 am
SGT_squeequal (3/13/2012)
DOH why dindt i think of that worked perfect thanks 🙂
You really should consider passing the datetime in using the ISO standard format. SQL will properly recognize the...
March 13, 2012 at 8:24 am
I may be wrong but as written I don't think good indexes would help this query. Just looking at seems to indicate that tables scans are going to be...
March 13, 2012 at 8:18 am
mtillman-921105 (3/13/2012)
March 13, 2012 at 8:11 am
Viewing 15 posts - 13,816 through 13,830 (of 26,486 total)