Viewing 15 posts - 631 through 645 (of 691 total)
Eric,
Yukon kind of solves this; sprocs can accept cursors as input. I agree with you, though, SQL products should support relvars as intrinsic types rather than as pure containers....
September 3, 2004 at 11:15 am
UPDATE YourTable
SET YourCol = REPLACE(YourCol, CHAR(13) + CHAR(10), '')
September 3, 2004 at 11:12 am
Eh... Who cares about this?
Can anyone show me a database with over 2 million objects, let alone nearing 2 billion? And if your table starts nearing 512 columns, you've designed something...
September 3, 2004 at 7:15 am
You've created the following question....
Can you re-word this question three days in a row?
o Yes, I believe it's possible
o No
o Yes, SQLServerCentral.com did it
September 2, 2004 at 6:14 am
The answer was correct....
use tempdb
go
create table a (id int, somechara char(1))
go
create table b (id int, somecharb char(1))
go
insert a values (1, 'a')
insert a values (2, 'b')
insert a values (3, 'c')
insert b...
August 31, 2004 at 7:28 am
I'll help if you need more... Since I never bothered to submit my entry I will be a very neutral judge... Drop me a PM or e-mail.
Oh, and by the...
August 29, 2004 at 8:43 pm
Hasn't the person who wrote this question ever heard of DELETE or UPDATE?
Fix the problem... Don't roll back the entire database!
August 27, 2004 at 7:24 am
Robert,
FYI, EXISTS (SELECT TOP 1) and EXISTS (SELECT *) will perform exactly the same. Both predicates will be satisfied upon retrieval of exactly one row.
August 16, 2004 at 1:07 pm
I got the feeling it was a typo, but maybe it was a trick question
Perhaps whoever submitted it can comment..?
August 13, 2004 at 8:09 am
Didn't any of you notice...
while exists( select * from Orders where fulfilled 1)
...
update orders set fulfilled = 10 where status = 1
This will run in an endless loop if...
August 13, 2004 at 7:17 am
Today's newsletter says that the deadline is Aug. 6; the article says 30 days from "the date it was published," whic appears to be 7/22... So shouldn't the deadline...
August 5, 2004 at 7:13 am
thormj,
The problem is that unfortunately that query will be unable to seek indexes as the optimizer will evaluate ALL of the possible conditions (therefore, a scan will be necessary).
July 26, 2004 at 11:08 am
Please check out MVP Erland Sommarskog's article on this subject:
July 26, 2004 at 7:09 am
It's doable, but that might be another challenge (or perhaps, a question of whether a bowling system would really be modelled with this table)... But IMHO for the sake of...
July 22, 2004 at 2:03 pm
Viewing 15 posts - 631 through 645 (of 691 total)