Initial Experience of SQL server space data

After reading the books online, sqlserver spatial data can be divided into geometry and geography. The former belongs to the plane coordinate system (it is a headache when you see it, and you have not studied whether to configure projection

Restore an SQL Server System Database

The recovery of the system database is summarized as follows: In the SQL Server database, the system information is stored in the system database. The main system databases include master, which controls the user database and SQL server

[Microsoft] [odbc SQL Server Driver] [SQL Server] parameter data type text is invalid for parameter 1 of the replace function.

When it comes to text replacement in databases, most people first think of the replace function: Update table set column = Replace (column, 'oldkeyword', 'newkeyword ') However, when column is text or ntext, the preceding query will return the

Query the number of user tables in the SQL Server database

During Development today, I encountered the problem of counting the number of database tables in SQL Server 2005. So I wrote the SQL statement myself: Select count (1) From sysobjects where xtype = 'u'. Once executed, I found that the number of

How to query SQL Server versions

There are two statements: Select @ versiongo Selectserverproperty ('productversion') as productversion, serverproperty ('productlevel') as productlevel, serverproperty ('version') as edition, serverproperty ('engineedition ') as engineedition;

Solutions for forgetting the SQL server password

See http://www.cnblogs.com/jiang_zheng/archive/2009/02/05/1384622.html 1 ========== In the CMD window C: \ Documents ents and Settings \ Administrator> osql-e 1> sp_password null, 'abc123', 'sa' 2> go Password Changed.1> exit As a result, the

The following error message is displayed when you create a trusted data connection from ASP. NET to SQL SERVER: "Login Failed for user: 'accountname '"

**************************************** ************************************* There is no problem with running the local machine, but this error is reported when it is published to the server. Then we can delete "Integrated Security = sspi", but I

Easy understanding of naming standards for SQL Server Stored Procedures

In this article, the naming method of the standard blueprint is only applicable to SQL. If you are creating a new stored procedure or find a stored procedure that is not constructed according to this standard, you can refer to this standard.   Note:

Enumerating SQL Server instances

Using system; Using system. Collections. Generic; Using system. componentmodel; Using system. Data; Using system. drawing; Using system. text; Using system. Windows. forms; // The namespace introducedUsing system. Data. SQL; Namespace enumsqlserver{

Gam page and SGAM page in SQL Server

Introduction We already know that the smallest unit of SQL Server Io is a page, and the eight consecutive pages are a zone. SQL Server requires a way to know the space usage in the database under its jurisdiction. This is the GAM page and SGAM page.

SQL Server database security plan Overview

Microsoft has established a flexible and powerful security management mechanism to improve the security mechanisms implemented by the SQL Server 7.0 series, it comprehensively manages the security of users' access to the SQL Server server system and

One SQL Server optimization experience

Recently, I was working on a report in an ERP system. The big column in this report is statistical, such as delivery rate and purchase percentage. This means that it is not possible to simply connect to several tables, the data of several basic

Functions of each database in the SQL Server System

Master The master database stores all the databases on the sqlserver entity, and it is also a binder that holds the engine. If you do not use the primary database, sqlserver cannot be started. Therefore, you must carefully manage the database.

Clear SQL server logs

When the log file is full and the SQL database cannot write the file, you can use either of the following methods: One method: Clear logs. 1. Open the query analyzer and enter the command Dump transaction database name with no_log 2. open the

SQL Server: View Database User Permissions

1. view the database role of the SQL 2005 userUse yourdbGo Select dbrole = G. Name, membername = U. Name, membersid = U. SidFrom SYS. database_principals U, SYS. database_principals g, SYS. database_role_members mWhere G. principal_id = M.

Solve the problem that SQL server does not allow remote connection.

For the database system that has just been installed, if it is installed by default, it is likely that an error is reported during remote connection. The common error is: "When you connect to SQL Server 2005, this failure may occur if SQL server

Use the ASP. NET Website Configuration tool without installing SQL Server Express

If you have installed the full SQL Server version, the following error occurs when you use the ASP. NET Website Configuration tool: Failed to establish database connection. If you have not created an SQL Server database, log out of the website

SQL Server cursor concept and comprehensive instance explanation

IntroductionLet's skip the concepts, steps, and syntax of the cursor. Let's look at an example: Table 1 originsalary Table 2 addsalary There are now two tables, one of which is originsalary table-Payroll table. There are three fields: 0_id

SQL Server database statements and some operations

By the end of the year, I have made some preparations for my work and study problems and some common knowledge points for future use. This article involves the database, which is a summary of development (1) --- supplement to the database article. 1.

Ms SQL SERVER: ranking function details

Ranking function detailsSQL Server2005 is able to rank data rows in T-SQL code. The ranking function can rank each data row, providing a way to organize output in ascending order. You can give each row a unique sequence number, or give each group of

Total Pages: 923 1 .... 739 740 741 742 743 .... 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.