Viewing 4 posts - 1 through 4 (of 4 total)
Tara-1044200 (11/12/2010)
select distinct name from master.sys.databases s
inner join empdb.dbo.ldt a on s.name=a.dbname
where is_read_only = 0
and dbname in(select dbname,ntile(4) over (order by planid)...
November 17, 2010 at 5:59 pm
NTILE() is great for these kind of queries
eg:
select a.name
from (
select name,ntile(2) over (order by name) as split
from master.sys.databases
) as a
where a.split = 1
select a.name
from (
select name,ntile(2) over (order by name)...
November 11, 2010 at 5:46 pm
OpenXML will usually be good enough. Just look up books online
November 11, 2010 at 5:30 pm
I was getting this error because I foolishly copy/pasted The SSIS Server Conections (tab called Connection Managers) from Visual Studio 2008 to VS2005. It runs fine in debug mode but...
November 11, 2010 at 5:20 pm
Viewing 4 posts - 1 through 4 (of 4 total)