Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Table created date

Author  Topic 

vin
Starting Member

26 Posts

Posted - 2003-03-26 : 00:51:10
Hi,
How to get the Date of table creation and store it in a variable.
thanks



harshal_in
Aged Yak Warrior

633 Posts

Posted - 2003-03-26 : 00:59:05
quote:

Hi,
How to get the Date of table creation and store it in a variable.
thanks






declare @date datetime
select @date =crdate from sysobjects where name ='table_name'
print @date

Expect the UnExpected
Go to Top of Page

vin
Starting Member

26 Posts

Posted - 2003-03-26 : 01:11:25
Thanx harshal

Go to Top of Page
   

- Advertisement -