阅读背景:

这个DDL在SQL Server CE表上创建索引有什么问题?

来源:互联网 

With this code:

使用此代码:

command.CommandText = "CREATE TABLE InventoryItems (Id nvarchar(50) NOT NULL, PackSize smallint NOT NULL, Description nvarchar(255), DeptDotSubdept float, UnitCost float, UnitList float, UPCCode nvarchar(50), UPCPackSize smallint, CRVId int);"
command.ExecuteNonQuery();

command.CommandText = "CREATE INDEX idxUnitCost ON InventoryItems (UnitCost) ASC";
command.ExecuteNonQuery();
command.CommandText 



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: