I rarely use SQL Server 2008 at ordinary times, and occasionally use it once. I have encountered some problems. After several twists and turns, I found a solution on the official website:
Problem description: After logging on to the database, click "Database". The server subject "xxxcom" cannot access the database "db_xxx_com" in the current security context ".
Cause: SQL Server 2008 bug
Solution (non-original, refer to the official website ):
1. log on to the server using SQL Server
Problem description:
I am setting up a. NET application.ProgramAfter vs2008 is installed in the development environment and ms SQL 2005 is installed, it is found that management studio cannot be found in start-all programs.
Solution:
Method 1: Install sqlserver2005_ssmsee.msi;
Method 2:
Step 1: Uninstall all programs related to ms SQL 2005 on the control panel;
Step 2: assume that my installation file
This topic describes how to use the object Resource Manager in SQL Server Management Studio to contract a database. The size of the scaled-down database cannot be smaller than the minimum size of the database. The minimum size is the size specified at the initial creation of the database, or the explicit size set last time you used the file size change operation (such as dbcc shrinkfile. For example, if the
The plug-in installation is simple, Google has it, and confirm that you have installed the ANKHSVN plugin in VS, so congratulations, you can use SVN's powerful code management capabilities in VS. First open visual Studio, click File (Files) you will see the Subversion option, click Open from Subversion ... URL, enter the http://server ip/repository/repos1 and then prompt for the HTTP authenticated username
Today's use of the era of interconnected overseas space, SQL 2008 Unlimited space size, opened the account, the use of SQL Server Management Studio 2008 to connect the database, you can link, but cannot view their own database, click the database, prompted unable to retrieve data for the request Error 916
The workaround is as follows
1: Click on the left side of the database, and then to the right of th
Tags: local window. com A nbsp com executes an image letter1. Check if IntelliSense (intellisence) is enabled in the settings, which can be set in "Tools" → "Options"2. If it is not valid, you can create a new Query window query, enter the first few letters of the keyword to see if there is a hint (or use CTRL +j Force pop-up hint), if none, then perform "edit" → "intellisence" → "refresh local cache", through the operation of these two steps, Most of them can solve problems without smart hints.
nvarchar
set @SqlBackupDataBase =n ' BACKUP DATABASE YourDatabaseName to DISK = ' E:\DBBackup\YourDataBaseName-' +
CONVERT (varchar (one), GETDATE (),) +replace ( CONVERT (varchar (), GETDATE (), 108), ': ', ') + '. Bak '
--backup file format: Yourdatabasename-20140626233410.bak
Print @SqlBackupDataBase-Print out (omit for easy debugging)
exec sp_executesql @SqlBackupDataBase--Call system stored procedure, execute SQL Note: The third parameter of the CONVERT () function is the time style ID; R
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.