Viewing 7 posts - 1 through 7 (of 7 total)
Very interesting queries were posted here
Here is another one
select * from
(
select n1.name,n1.end_dt start_unemp
, (select min(n2.start_dt) from quiz1 n2 where N1.NAME=n2.name and n2.start_dt>n1.start_dt) End_unemp
from quiz1 n1
) kk
where start_unemp<>end_unemp
April 7, 2006 at 7:04 am
So, that is. May be SQLServer 2005 will give us to possibility to query the creation date of all objects in Db
Thanks
Larry
July 12, 2005 at 11:38 am
I have a request to create an index, but that index already exists.
I want to know when that index was created.
July 12, 2005 at 11:27 am
You have to restore the full backup and apply logs until 2:30. You can not apply next logs after a missing one
R
March 23, 2004 at 10:15 am
The MODEL database can be a solution.
Create all procedures and tables on it.
All new created databases will have all tables and SPs
If tables are populated in model they will...
September 25, 2003 at 8:05 am
You also can try:
select id ,
max(case comp when '1' then value else ' ' end) '1',
max(case comp when '2' then value else ' ' end) '2',
max(case comp when '3' then...
August 8, 2003 at 7:28 am
quote:
If I have a table like this:ID Comp Value
---------------------
1 1...
August 8, 2003 at 7:26 am
Viewing 7 posts - 1 through 7 (of 7 total)