server|sqlserver| Backup | recovery | data | Database One, BACKUP database
1, open SQL Enterprise Manager, and then click Open Microsoft SQL Server
in the console root directory 2, SQL Server group--> double hit Open your server--> double-
ado|server|sql| Data | Database Microsoft SQL Server is one of the most commonly used database management systems in small networks today. The application of this kind of network database is also increasing, the normal operation of this kind of
--First Use sp_addlogin to add login exec sp_addlogin ' username ', ' password ', default database
--then grant the user access to a database named exec sp_grantdbaccess ' username '
--finally give the user specific permissions, such as the
asp.net|server|sql| Tips
1. Pass to database statement parameters
Passing parameters to a database operation statement can be implemented by a stored procedure, and here are two other easy ways to do this:
You can pass parameters directly
server| access using HTTP to access SQL Server
You can use HTTP to access Microsoft®sql server™2000. Before you can specify queries using HTTP, you must first create a virtual root with the IIS virtual Directory Management utility for SQL
server|sqlserver| process
The process of automatically generating a number in SQL Server for multiple usersIf not EXISTS (SELECT * from dbo.sysobjects WHERE id = object_id (n ' [indextable] ') and OBJECTPROPERTY (ID, n ' isusertable ') = 1)CREATE
Server
method One:
Change the database log file to simple log mode
Method Two:DUMP TRANSACTION your database name with NO_LOG
BACKUP LOG your database name with NO_LOG
DBCC shrinkdatabase (your database name)
EXEC sp_dboption ' Your database name ',
server| Stored Procedures | paging
A brief discussion on the evolution of SQL SERVER paging stored procedures
Author: ZhengzoDate: 2006-9-30For database data in the UI interface pagination is a cliché question, the Internet is easy to find a variety
When the Server|sqlserver log file is full and the SQL database cannot write to the file, there are two methods available:
One way: Empty the log.
1. Open Query Analyzer, enter command
DUMP TRANSACTION database name with NO_LOG
2. Then open
server| function
Two uses of functions in SQL Server (which can be used in place of cursors)
1. Because the update can not use stored procedures, but to update the table based on some of the fields to be calculated. We often use the method of the
Server|window sqlserver2005 The default is Windows authentication after installation, you can change to mixed logins in the following ways.
first log on to SQL Server with Windows Authentication, right-click on the SQL Server instance field in
server| Error | Resolving the problem with SQL Server is that the most common problems users encounter are the failure of the connection. In general, there are two ways to connect SQL Server, one is to take advantage of SQL Server's own client tools,
server| Recovery | data | database
Work is over, this afternoon is free, write an article, may be helpful to everyone:
No database system can avoid a crash situation, even if you use a clustered, two-machine hot standby ... It is still not possible
server| Stored Procedures
SQL Server writes stored procedure gadgetsFunction: Create an update stored procedure for a given tableSyntax: sp_genupdate ,,Take the Northwind database as an exampleSp_genupdate ' Employees ', ' EmployeeID ', '
Access|server| Show | Page Access's Design view has a good feature-----design column annotations, which allows the designer to see clearly the meaning of each column. The general SQL Server does not have this function when building a table, but he
Server ' below to add a SQL server2000 user function to the ASP, and to create a database that gives him the dbo permissions ' **************** NOTE: SQL Server authentication is not selected for Windows only, ' * * * Allow remote SQL Server
server|sqlserver| stored procedures in our user authentication program, it is easy to use ASP to call the SQL statements to retrieve the data table is a qualified record, and then use ASP for related processing.
All Roads Pass Rome! Of course, we
server 1, ASP files:
' EXAMPLE as: Put a 24-hour online number in the database into an Excel file
' AUTHOR: Steel Workers
' Email:hello_hhb@21cn.com
' Date:2001-3-25
' Test: Testing through in Nt4,sp6,sql SERVER 7.0,excel2000
%>
Generate
Ado|server| Data This example illustrates how to use the SqlDataReader class to read data from SQL Server. This class provides a way to read a data-only stream from a data source. If you want to use a database that has an OLE DB interface or a
asp.net|server| Architecture | Data #region Public methods
Get points set according to different conditions
Function id
Operation id
Role id
Type di
Points
Currency
Purchase type
Functional status
public bool
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.