SQL

SQL: The DTS Wizard for importing and exporting

Posted by on July 26, 2009 at 2:26 pm

We found some article relating to the DTS Wizard which is a good tool to use for exporting and importing db structures. so far we have not found the toolkit for SQL 2008 and assume the 2005 version works with 2008. If you have confirmed this please feel free to contact me and correct this [...]

SQL/ASP: The timeout period elapsed prior to completion

Posted by on May 16, 2009 at 5:54 pm

Error: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Try adding a Connect Timeout in the web.config The Connect Timeout attribute of a connection string determines how long a SqlConnection Object runs before it stops attempting to connect to a server. Reference

SQL: drop current connections

Posted by on May 9, 2009 at 9:00 pm

You can view the current connections by executing the system proc sp_who2 , if you wish to kill the connection type: kill and the pid number or use ALTER DATABASE ‘DATABASE_NAME’ SET SINGLE_USER WITH ROLLBACK_IMMEDIATE.

SQL: Save (Not Permitted) Dialog Box

Posted by on March 21, 2009 at 1:41 pm

OMG : Error : The Save (Not Permitted) dialog box warns you that saving changes is not permitted because the changes you have made require the listed tables to be dropped and re-created. The following actions might require a table to be re-created: Adding a new column to the middle of the table Dropping a [...]

SQL 2008: SQL Server Management Studio 2008 Express failed to retrieve data

Posted by on January 16, 2009 at 9:39 pm

Microsoft SQL Server, Error: 916 Error: the server principal “” is not able to access the database “” under the current security context For those of you that connect to databases that are hosted by 3rd party providers, some of which are accustomed to leaving as many databases in auto-close mode as possible, you are [...]