How to clear the SQL Server log

Method 1: First step: BACKUP LOG database_name with NO_LOG or the BACKUP log database_name with TRUNCATE_ONLY--no_log and truncate_only is synonymous here, and any sentence can be executed. Step Two: 1. Shrink all data and log files for a particular

Tips for generating XML in SQL Server 2000

In the previous introduction of SQL2K has been mentioned in the SQL2K of XML support, using the FOR XML statement can easily translate the results of execution into an XML, which can greatly improve the efficiency of the system and development speed,

Simple application of SQL Server extended stored procedure xp_cmdshell

xp_cmdshell stored procedure is the execution of the local cmd command, requiring the system to log in with the SA permission, that is, if you get the SA command of SQL Server, you can do whatever the target machine, the well-known software

Eclipse3.3 Configuration Data Source-Configure SQL Server 2005

prerequisite, must have Microsoft SQL Server Driver JDBC driver, this driver can go to Microsoft official download Eclipse3.3 Interface SQL ServerThe default is offTCP/IPthe data link is,first, find it in the Start menu.SQL Server

How to determine the maximum value in the SQL Server bar

How to determine the maximum value in the SQL Server bar CREATE TABLE [dbo]. [Minmax] ( [Minmaxid] [INT] IDENTITY (1,1) not NULL, [Value1] [INT] Null [Value2] [INT] Null [Value3] [INT] Null [Value4] [INT] Null CONSTRAINT [Pk_minmax]primary

Install SQL Server 2000 in WIN7/WIN8

① after double-clicking the installation, a folder is generated and then the CMD command is entered② use cmd to enter the corresponding folder, occasionally "D:msde", and then enter the command:Setup sapwd= "sa" Securitymode=sql

Calling SQL Server stored procedures in ASP

Invoking SQL Server's stored procedures in ASP can speed up the program, so these days in the study of ASP in the use of SQL Server stored procedures, are summarized as follows, many of these ideas are directly from the chinaasp forum, hoping to

Visual2013 Configure EntityFramework to connect to the SQL Server database

To configure how EF links SQL Server Materials: 1, Entity Framework version: 6.0 + (EntityFramework.dll, EntityFramework.SqlServer.dll) (You can use nugget to get the latest version of EntityFramework) 2, VS2013 (FrameWork4.5) Steps: 1. Create a

SQL Server Small Notes

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/8C/96/wKioL1hwyfSwubFxAAD2sFUyK0Y471.jpg-wh_500x0-wm_3 -wmp_4-s_3951670886.jpg "style=" Float:none; "title=" 20170107185639.jpg "alt=" Wkiol1hwyfswubfxaad2sfuyk0y471.jpg-wh_50 "/>650)

SQL Server, MySQL bulk operations plugin

Sql server:1, Entityframework.bulkinsert. Applies only to SQL Server. To achieve the MySQL batch insert, you have to implement some methods, such as registration driver, temporarily not capable.2, Z.entityframwork.extensions. Applies to

SQL Server removes the Chinese in the field

Very often, some fields in a database table are made up of Chinese and letters or numbers, but sometimes we need to remove the Chinese from the field. There are a number of ways to implement this requirement, and here's one solution.First we set up

Windows integrated identity authentication connects to the SQL Server database to create a safer connection-Web_Servic

Abstract: today, I want to write a Windows service program in C #, which connects to an SQL Server 2003 database on Windows 2000 Server and uses SQL Server for authentication. Common programs can be connected, but Windows service programs cannot be

Automatic Database Backup settings in SQL Server 2000/2005

Automatic Database Backup settings for SQL Server 20001. Make sure that the SQL Server Agent service is in the starting state (you can view and start it in "SQL Server Service manager" or in the system service)2. Choose "SQL Server Enterprise

SQL Server 18056 error solution

Solution:0. First, check whether the database has a deadlock.1. The most direct way is to increase the size of the IIS connection pool.2. Find a large session request in the program and modify the code.3. Restrict the maximum number of IIS processes

SQL Server 2000 data conversion service (II)

Data Pump: conversion dataDTS Data Pump is a data transmission object that drives data import, export, and conversion operations.Data pumps are used during data conversion, data-driven queries, and parallel data pump tasks. ExecutiveThe process of

Experience of converting ACCESS to SQL SERVER

1. When the automatic numbering type in the ACCESS database is converted, SQL server does not set it to the automatic numbering type,2. For date-related fields during conversion, SQL SERVER is of the smalldatetime type by default. We 'd better

SQL Server discovers new security vulnerabilities

A few days ago, Microsoft released a security bulletin saying that two security defects in SQL Server make it vulnerable to DOSMicrosoft pointed out that both SQL Server 2000 and SQL Server 7.0 are affected by these two security defects.The two

SQL Server recursive query implementation method

Take table Deparment as an exampleTable structure:Id department internal code,DeptCode department code,ParentDeptId internal code of the superior departmentUse T-SQL: The code is as follows:Copy code With Dep( Select Id, DeptCode, DeptName from

How to modify the system time of the SQL server 2005 database

However, if you use the double-click "date and time attribute panel" to modify the computer time, it will not be changed to the SQL server time. The code is as follows:Copy code -- Time before modificationSelect getdate ()-- Enable advanced

Total Pages: 923 1 .... 799 800 801 802 803 .... 923 Go to: GO

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.