Viewing 15 posts - 436 through 450 (of 479 total)
I ran a few tests and found that there are only marginal differences beween most of them, except that the dateadd/datediff form takes about a third longer (on my test...
February 5, 2008 at 4:01 am
Does anyone know which uses least processing time?
February 5, 2008 at 3:46 am
Balaji (1/26/2008)
1) in where criteriawhere 1=1
and ....
The only time I've seen this done is in generated queries. That is, a query is built from selecting various options...
January 31, 2008 at 4:24 am
scoinva (1/24/2008)
PolyServe
Can you elaborate?
A quick glance at info on the polyServe database utilitity would indicate that it's used to ease relocation of SQL instances between physical servers. VMs can be...
January 24, 2008 at 2:34 am
I must admit that until a few months ago, I hadn't considered how virtualization worked and had sort of assumed it was similar to emulation (like running old PDP-11 software...
January 24, 2008 at 1:59 am
Mark (1/19/2008)
Several ways to do this, here's one
...ROW_NUMBER() OVER(PARTITION BY Name ORDER BY Factor1) as rn
One of the reasons I love these forums is that there's always something new to...
January 23, 2008 at 3:27 am
donald.jones (1/21/2008)
January 23, 2008 at 2:45 am
keywestfl9 (1/17/2008)
January 23, 2008 at 2:30 am
I'd still be interested if there's an easier way, but my current solution is...
create table ##db_obj (
dbid int,
objectid int,
objname varchar(128)
)
/*
Temp table #T contains columns dbid(int) and objectid(int) with the values...
January 22, 2008 at 4:17 am
russell (1/21/2008)
here's an SP. problem making a function is the need for dynamic sql, but maybe this wlll get u going in the right direction
Thanks for the suggestion, but I'd...
January 22, 2008 at 3:25 am
Hi Steve,
Unfortunately that doesn't work.
On my test server,
"use scratch;select count(*) from sys.objects" returns 61
"use perf;select count(*) from sys.objects" returns 1609
I need a pointer to whatever sys.objects is looking at so...
January 21, 2008 at 10:35 am
In the UK, I've had a couple of jobs where criminal record checks were done (one was an organization which works almost exclusively with teenagers), but that's about it. Most...
January 18, 2008 at 2:27 am
Shaun McGuile (1/9/2008)
The question is wrong on the basis of design and the modeling of the parent child relationship using one column is totally flawed.
Brent McCracken (1/10/2008)
January 16, 2008 at 4:09 am
Probably very inefficient...
create table #c (val varchar(10))
insert #c (val) values('003')
insert #c (val) values('003.1')
insert #c (val) values('003.2')
insert #c (val) values('003.3')
insert #c (val) values('003.31')
insert #c (val) values('003.32')
insert #c (val) values('003.33')
insert #c (val)...
January 7, 2008 at 7:27 am
Hi Jeff,
Just wanted to say that I too think this is a great article - well written with plenty of food for thought.
I've got several complex queries I need to...
January 4, 2008 at 6:21 am
Viewing 15 posts - 436 through 450 (of 479 total)