Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)

  • RE: Measuring Performance

    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

  • RE: Date an index was created

    So, that is. May be SQLServer 2005 will give us to possibility to query the creation date of all objects in Db

    Thanks

    Larry

  • RE: Date an index was created

    I have a request to create an index, but that index already exists.

    I want to know when that index was created.

  • RE: Databse restore problem if one of the middle transaction log backup file get deleted?

    You have to restore the full backup and apply logs until 2:30. You can not apply next logs after a missing one

    R

     

  • RE: Creating multiple copies of a SQL Database

    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...

  • RE: SQL query help

    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...

  • RE: SQL query help

    quote:


    If I have a table like this:

    ID Comp Value

    ---------------------

    1 1...

Viewing 7 posts - 1 through 7 (of 7 total)