Viewing 15 posts - 526 through 540 (of 684 total)
I see the same thing on SQL 2000. Interstingly, I still see only one 100% cost, touching ul2 on SQL 2005.
Upgrade to 2005?
June 14, 2006 at 11:14 am
Hi Greg,
Looks like this partitioned view is going to be the death of you .
I've take your sample code and created the tables and...
June 14, 2006 at 9:33 am
Your list of tables is the tables you can see in Mgt Studio. You'd then need to assign permissions to each table individually.
Or you could use T-SQL. Generally,...
June 14, 2006 at 8:45 am
I think MS made it awkward and difficult to force users into using T-SQL. Which isn't a bad thing necessarily .
In Mgt Studio:
1)...
June 14, 2006 at 8:23 am
Hi David,
Just to double-check: Did you change the return datatype of the function to char(10)?
If so, it must then have to do with how your procedure is handling the...
June 14, 2006 at 7:52 am
David,
when converting it back to datetime, you should specify the style you want as well.
In fact, if you want it returned as a datetime format you just convert it to...
June 14, 2006 at 7:34 am
David,
you'd need to use the convert/cast function and specify what style you want the date to be in.
e.g.
RETURN convert(varchar(10),dateadd(day, -1, datediff(d,0,@today)),103)
Style 103 corresponds to dd/mm/yyyy. The different styles...
June 14, 2006 at 5:35 am
Oops,
try this.
delete table2
from table2 t2
where not exists (select 1 from table1 where description=t2.description and referenceID=t2.referenceID)
June 14, 2006 at 3:45 am
Andy,
Try using the EXISTS clause instead.
like so:
delete from table2 t2
where not exists (select 1 from table1 where description=t2.description and referenceID=t2.referenceID)
Hope that helps,
June 14, 2006 at 3:34 am
I did wonder why you were worried about a 0.1 second difference .
Even so, the 10 seconds difference shouldn't imply that it is scanning...
June 13, 2006 at 9:10 am
Greg,
Obvious question but is the CHECK constraint on the partitioning column disabled? Just thought I'd as just in case.
I can't really explain why it would ignore the partitioning column...
June 13, 2006 at 8:47 am
Hi Janice,
try this: "exec pListOfMembers".
You don't select from a procedure in the same way that you can from a view. With procedures, you just execute them.
Hope that helps,
June 13, 2006 at 6:45 am
You shouldn't be doing this with a cursor.
The first method you were using was the correct method:
INSERT INTO ACCEVENTIMPORT
SELECT * FROM _ACC
The order of rows in the table ACCEVENTIMPORT does...
June 13, 2006 at 6:41 am
Mark,
you should be able to set up a monitor server on standard edition. I just checked, and standard edition comes with various log shipping procedures in msdb, including sp_add_log_shipping_monitor_jobs,...
June 13, 2006 at 2:39 am
You know, I could have sworn that fn_get_sql returned the very last statement that executed but it looks like I was wrong.
I must have imagined that. Sorry.
Yeah, the dynamic...
June 7, 2006 at 8:54 am
Viewing 15 posts - 526 through 540 (of 684 total)