Tech Tips
Monday, January 12, 2009
MS Sql Server
//Modify Table column type
ALTER TABLE dbo.Investor4_head
alter column investorId varchar(32) not null;
//Drop index of table.
drop index tableName.IndexName
//Update Column values
UPDATE tableName
SET columnName = ''
WHERE columnName='-1'
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment