Hi all,
It's just simple question! How do I set a column as a primary key in SQL server 2000!
Can we simply use ALTER TABLE <t-name> ALTER COLUMN <c-name> ....
Or Do I need to set any constraint for this? And what's the syntax for that? None of SQL Server books teach me that.
And one more, How do I use sql statement to add VIEWS and STORED PROCEDURES?
Thanks,
Sivakumar Kandaraj
System Administrator,Web Programmer
Melbourne
Australia.
It's just simple question! How do I set a column as a primary key in SQL server 2000!
Can we simply use ALTER TABLE <t-name> ALTER COLUMN <c-name> ....
Or Do I need to set any constraint for this? And what's the syntax for that? None of SQL Server books teach me that.
And one more, How do I use sql statement to add VIEWS and STORED PROCEDURES?
Thanks,
Sivakumar Kandaraj
System Administrator,Web Programmer
Melbourne
Australia.