1. view the database version
Select @ version
Common SQL server patch versions:
8.00.194 Microsoft SQL Server 2000
8.00.384 Microsoft SQL Server 2000 sp1
8.00.532 Microsoft SQL
The SQL Server user can only access the specified view. The SQL Server View
Use crm-- Create a role for the current databaseExec sp_addrole 'rapp'-- Assign view permission grant select on veiw TO [role]
-- Specify the View listGrant select on v_city TO rappGrant select on v_lp TO rappGrant select on v_qy TO rappGo-- Ad
Problem description:User 'sa 'Login Failed. Cause: it is not associated with a trusted SQL server connection.Note:An error occurred while executing the current Web request. Check the stack trace information to learn about this error andCodeDetailed information about the cause of the error.
Solution:This problem is generally caused by SQL
SQL Server 2000 SQL Server evaluation period has expired Solution
Two days ago, the server had to be restarted for some reason. After restarting, it was found that SQL Server2000 could not be started. Click "start" in the Service
Recently, after the computer reinstall System, SQL Server 2008 was installed。 When attaching the database file, the discovery cannot be attached and the wrong version is indicated. Remember, the original database version is SQL Server 2008R2 cannot be attached directly because the high-version database files are not co
Tags: inf ase tle soft OBA support OGR Sky fetching dataThe function described in the title is simple, the following example is also very simple, but you can according to your own needs to expand the function, I here just to a point, hehe ..., you can actually have time to do a SQL Server profiler to play a play. Supports SqlServer2005 and SqlServer2008The first step:Add Reference: Microsoft.SqlServer.Conne
The following issues occur with the installation of SQL Server 2008 in Windows Server 2008:
During installation, the following issues occur in the server Configuration link:Invalid credentials supplied for SQL Server Agent servic
Detailed description of SQL Server table and index storage structure, SQL Server
This article analyzes in detail the principles of table and index structure storage in SQL Server and how to speed up search and improve efficiency.
SQL Server Stored Procedure creation and modification implementation code, SQL Server Stored Procedure
Open the management tool of SQL Server 2005, select the database for which you want to create the stored procedure, find "progr
Sometimes we may import CSV data to a database table, such as when performing report analysis.I think it's hard to solve this problem at all.ProgramPersonnel! But it would be better if SQL server can complete this task!Yes, SQL Server does have this function.First, let's take a look at the CSV file, which is saved in m
Myth #26: There is a real "transaction nesting" in SQL Server
Error
Nested transactions do not appear to allow transaction nesting as their syntax behaves. I don't know why anyone would write code like that, and the only thing I could think of was a guy who scoffed at the SQL Server community and wrote the code: "Pla
Label:Original address: Http://zhidao.baidu.com/link?url=Ndav32DO9zL5XnltqoqlhvKHbJv_ N3zwihhw4cwf9ffnq8hb8z7h7n3vjvfoewxzgorh1qczcvls-ojqdduxdq1, start-"All Programs-" Microsoft Visual Studio r2--Configuration Tool--"SQL Server Configuration Manager2. Then open Configuration Manager to see if the services in the diagram are turned on. If not, open the corresponding service.3, to connect, at this time alrea
Tags: style blog http io color ar os using SPTemplate Explorer is a component of Microsoft SQL Server Management Studio that can be used with SQL code templates, using the code provided by templates, and eliminating the need to enter basic code every time.To use Template Explorer:1>. After you open the Microsoft SQL
Original: SQL Server replication-publish subscription (SQL Server data Synchronization)SQL Server synchronization is achieved through SQL Server's own replication tool, with 2 major str
SQL server creates two types of temporary tables: Writing and deleting temporary tables. SQL server
-- Create and delete temporary tables
-- Method 1: create table # tmp (name varchar (255), id int) -- Method 2: select count (id) as storyNum, sum (convert (numeric ), case when isnumeric (code) = 1 then code else 0 end)
SQL Server focuses on filtering indexes and SQL Server Indexes
Preface
In this section, we will continue to talk about index knowledge. We have clustered indexes, non-clustered indexes, and covered indexes. Here we also have a filter index, which can improve query performance through index filtering, brief content and
SQL Server compact does not support top and row_number. the frequently used SQL pages cannot be used in SQL Server compact. How does SQL Server compact implement paging?
The answer is o
1. generate a for 2005 version of the database script
Manger Studio, 2008--Open "Object Explorer" (no words pressed F8), connect to your instance--right key to go to 2005 of the Library-Mission--Generating scripts--In the "Select Database" of the Script wizard, make sure that you select the library that you want to go to 2005--"Scripting all objects in the selected database" 5--In the next "Choose script Options", set "script to create DATABASE" to true, locate the "Script for
Original: SQL Server 2008/sql Server R2 metabase mailStarting with 2005, the Database Mail feature was introduced. and replace SQLMail. The original SQLMail can continue to be used.SQLMail requires an application programming interface (Extended Messaging application programming Interface,mapi) that can cause SQLMail to
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.