Tags: blog http io ar using strong on file dataThe database is installed and the connection string is required for use in the program. How to write it? Take SQL Server R2 as an example.1, after installing SQL Server R2, similar to Oracle's Plsql tool.
1. View the version of the database
SELECT @ @version
2. View the machine operating system parameters of the database
EXEC master.. xp_msver
3. View Database Startup Parameters
sp_configure
4. View Database Startup time
Select CONVERT (varchar, login_time,120) from master. sysprocesses where spid=1
To view the
Execute SQL Server database backup and SQL database backup using Windows batch processing commands
Create mybackup. bat and enter the following content to directly run the script to start automatic database backup. You can also ad
English server does not support Chinese and Chinese database solutions
Method One:
After browsing through the Microsoft NGWS document, I found that there is a reference in the FAQ section of the document to add a Config.web file to
Web directory, try it, the Chinese display is OK.
The method is as follows:
Create a file Config.web, as follows, in the web dire
Tags: style blog http io color OS SP for strongTo synchronize data from Oracle in real time to MS SQL Server, you need to read and write data directly to SQL Server in Oracle, and you can install the Oracle database for SQL Server
server| Data | database | statement
1. View the version of the databaseSELECT @ @version2. View the machine operating system parameters of the databaseEXEC master.. xp_msver3. View Database Startup Parameterssp_configure4. View Database Startup timeSelect CONVERT (varchar, login_time,120) from master. sysprocesses wher
T-SQL statement to modify the logic name, database name, and physical name of the SQL Server database, t-sqlsql
This example describes how to modify the logical name, database name, and physical name of the
like '% @ str %'Create an encrypted stored procedure or function WITH the with encryption parameter before theYou can use sp_decrypt to decrypt encrypted stored procedures and functions.10. View user and process information in the databaseSp_whoView information about active users and processes in the SQL Server databaseSp_who 'active'View the locks in the SQL
subsystem discussed here has at least 1 disk controls
Device and one or more hard disk units, as well as disk setup and file system considerations. Smart SCSI-2 disk controller or disk group controller is a good choice
Optional, its characteristics are as follows:
(1) Controller cache.
(2) The bus board has a processor, can reduce the system CPU interruption.
(3) asynchronous read and write support.
(4) 32-bit RAID
Executing SQL statements using HTTP
Using the virtual directory we just created, we can execute the query by writing the SQL query statement to the URL. Open the browser and write in the address bar
Into the following url:http://localhost/northwind?sql=select+ *+from+customers+where+customerid= ' ANTON '
+for+xml+autoroot=root, if you are using a virtual director
The previous configuration of the mirrored database has been completed and the failover test has been carried out. Next you will deploy the witness server for automatic failover.
First, about the witness server
1. To support automatic failover, you must configure the database
ASP Classic database connection file support Access,mssql server Dim conn,connstring Sub openconn () if db_type = "Access" Then connstring = "Provider = Microsoft.jet.oledb.4.0;data Source =" Server.MapPath (Accpath) els EIf Db_type = "SQL" Then connstring = "Provider = SQLOLEDB; User ID = " Sqlusername "; Passw
. Write so much for now
Principles of Database Synchronization configuration in SQL Server 2000Concept of ReplicationMicrosoft? SQL Server? 2000 of data replication is performed between databases to replicate data and database
very deep, that is, more and more practical problems, have to have theoretical knowledge to support,But it is often theoretically said that the situation does not appear frequently or even if there is no attention, there is time to neglect some theoretical knowledge.For the problems encountered, if you really want to find out, still have some theoretical knowledge to do the groundwork. Many times, often after encountering problems, recalled once good
Https://www.cnblogs.com/yougmi/p/4616273.htmlHttps://jingyan.baidu.com/article/6c67b1d6ca06f02787bb1ed1.html (SQL Server R2 How to open a remote connection to a database)The local database (SQL Server 2012) connects to the extrane
SQL Server database management common SQL and T-SQL statements
1. view the database version
Select @ version
2. view the operating system parameters of the machine where the database is
reserved null values] [-e reserved ID values] [-h "loading prompt"] [-x generated XML formatting file]
The most common ones are marked in pink.2. BCP command instance
Here we use the adventureworks sample database as an example to conduct an experiment.2. 1. Export data from the table to a file (using trusted connections)
bcp AdventureWorks.Sales.Currency out c:\Currency.dat -T -c
The above parameter out indicates the output file, c: \ currency. dat
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.