i'd like to tranfer sql schema from MS server
Example:
*******************1*********************************
if exists (select * from sysobjects
where id = object_id(N'[admin].[test]') and
OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [admin].[test]
go
*******************2*********************************
CREATE TABLE [admin].[test] (
[test_name] [char] (50) NOT NULL ,
[test_value] [int] NOT NULL
)

i can only realize part 2 and must need the fuction that can check data table. 
create table test(
test_name char (50) not null,
test_value int not null
)
thanks for any advice!!



Do You Yahoo!?
雅虎娱乐新鲜到底,电子周报快乐到家!

Reply via email to