After open SQL server 2008:
click the Security --> Login --> new Login --> give the login name and password ---> unclick Enforce password policy and following three options
The ok, the new user is created successful
Then right click database, create a new database. choose owner as the new created user
then you can use this username and password to access this database in .NET web.config :)
sometimes want to change table, the sql server 2008 don't allow
(转)SQL SERVER 2008 阻止保存要求重新创建表的更改
最近,由于工作需要使用了SQL 2008数据库,遇到一些问题。这里先解决我遇到的第一个问题吧!
当用户在在SQL Server 2008企业管理器中更改表结构时,必须要先删除原来的表,然后重新创建新表,才能完成表的更改,如果强行更改会出现以下提示: 不允许保存更改。您所做的更改要求删除并重新创建以下表。您对无法重新创建的标进行了更改或者启用了“阻止保存要求重新创建表的更改”选项。
如果要去掉此提示,打开SQL 2008 在最上面 工具-〉选项-〉左侧有个 设计器-〉表设计器和数据库设计器 -> 阻止保存要求重新创建表的更改(右侧) 把钩去重新启动2008即可。