Viewing 15 posts - 481 through 495 (of 1,554 total)
Not quite the same (0's not 1's), but maybe this snip from BOL can shed some light? (particularly the last bit) This suggests you're using either the -V parameter, or...
May 26, 2006 at 1:16 am
Nope, no trim in 2005 either, just ltrim and rtrim
/Kenneth
May 22, 2006 at 8:58 am
I'm sure there's no doubt about it being a demo.
I was just taking the opportunity to plug for ambigous vs nonambigous dateformats.
There's questions and confusion almost daily about dates, and...
May 22, 2006 at 8:53 am
Never given it much thought before, but come to think of it, I'd imagine that developers in general probably don't script/code much against the system procs - they are more...
May 22, 2006 at 8:36 am
Is this a real live example?
Select Fullname, Start_Date from tSearch where SearchGUID='BF33FA65-D558-43F5-0F0D20AB0028'
If it is, then the guid is too short to be a guid.
Try with something like...
May 22, 2006 at 8:28 am
This doesn't look too good.
For your first question - yes it is true. There is a reason that sp_OACreate permissions is set to...
May 22, 2006 at 8:16 am
It works fine, however do try out the difference when the language changes.
set language british
set language us_english
...just wanted to point out that it's important to provide dates in a 'failsafe'...
May 22, 2006 at 4:25 am
The tablescan is one obvious target for tuning. Check for appropriate indexing.
Another area is temptables. Are they necessary? .. really?
Hashjoins may be 'slow', but this is really an 'it depends'...
May 19, 2006 at 8:06 am
If you have a query that produces a list of ranges and sums, like so:
select daterange, sum(amt) as sumValue
from myTable
group by daterange
..you can make a virtual table of it,...
May 19, 2006 at 8:00 am
Why do you 'need' that? This is not what functions is ment to do.
Use a procedure instead, if possible, or rethink your strategy if you find yoursefl in a...
May 19, 2006 at 2:18 am
Since this seems to be more than one step
(find the rows, send mail, update sent to 1 for those (successfully(?) sent)
just be careful not to miss any in your 'batch'...
May 18, 2006 at 2:21 am
You're absolutely correct, a not exists construct will also produce the same (correct) result for the question 'which rows in A doesn't exist in B'.
There are truly many ways to skin a...
May 18, 2006 at 2:14 am
You have three different datecolumns in there... Does all three have something to do with the age?
If datecreated is what signifies the one-two hour limit, then this is one way...
May 16, 2006 at 11:38 am
Coffee and fresh air can make wonders....
David, you were right. It struck me that my inner query picks out all the latest posts from each user within each thread, not...
May 16, 2006 at 11:30 am
No..?
Why not?
I think it will
(adding the assumption here that DateEntered is a datetime so that it's...
May 16, 2006 at 8:41 am
Viewing 15 posts - 481 through 495 (of 1,554 total)