• insert into Table

    SELECT@@servername as Servername,name as DBName,[crdate] AS [LastStartupDate]

    FROM[master].[dbo].[sysdatabases]

    WHERE[name] = 'tempdb'

    and [Test].[dbo].[Table].LastStartUpTime < [master].[dbo].[sysdatabases].crdate

    It gives me this error now:

    Msg 4104, Level 16, State 1, Line 1

    The multi-part identifier "Test.dbo.Table.LastStartUpTime" could not be bound.