02 2014 档案

摘要:System.Data.ConstraintException: Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints. at System.Data.DataTable.EnableConstraints() at System.Data.DataTable.set_EnforceConstraints(Boolean value) at System.Data.DataTable.EndLoadDat... 阅读全文
posted @ 2014-02-28 16:22 VipSoft 阅读(2998) 评论(0) 推荐(0)
摘要:SELECT * FROM aspnet_RolesGODECLARE @role varchar(50) DECLARE CusCursor CURSOR FOR select RoleName from aspnet_Roles OPEN CusCursor FETCH NEXT FROM CusCursor INTO @role WHILE (@@FETCH_STATUS = 0) BEGIN SELECT @role --这里写SQL语句 FETCH NEXT FROM CusCursor INTO @role ... 阅读全文
posted @ 2014-02-26 16:33 VipSoft 阅读(438) 评论(0) 推荐(0)