Using ADO to connect to SQL Server behind a firewall

ado|server| Firewall 1. The firewall must be configured to allow port 1433 to be introduced, and 1024-65535 for outgoing ports 2. The connection string must specify the SQL Server address: IP address, server DNS name, or name in the host file 3.

Deep understanding of error handling in SQL Server

Most iterative language compilers have built-in error handlers (for example, TRY ...). Catch statements, developers can use them when designing code. Although SQL Server 2000 developers cannot take advantage of built-in tools like the developers of

Delphi programming access to SQL Server database

Delphi is an excellent visual software development environment, and has been widely used in the development of database software. In the DELPHIC/S version environment, combined with its optimized database operation, and Borland db Engine (i.e.: BDE,

How to use SQL Server database query cumulative values

This article describes how to use SQL Server database query cumulative values, for example analysis. There is a requirement that it create a SQL Server query that includes cumulative values based on the event time. A typical example is a bank

SQL Server Express Silent installation action method

The Silent SQL Server 2005 installation is a possible two steps: 1) Create a Setup.ini file The template file contained in the SQL Server CD is called Template.ini. On this basis, you create another ". ini file" that contains a single [Options]

Method of automatically scheduled backup of SQL Server database _mssql

Here's how I've verified the automated backups that are available. 1, open Enterprise Manager-> Management->sql Server Agent 2, create a new job, the name of the job to take, for example: Data backup, the owner Select SA, of course, you can also

SQL Server stored procedure Authoring and optimization measures

During the development of the database, the complex business logic and the operation of the database are often encountered, and the SP is used to encapsulate the database operation. If there are more SPS in the project, writing and there is no

SQL Server Alternative non-recursive Unlimited class classification (stored procedure version)

Here are a few of my statistical options: first Scenario (recursive): The simple table structure is: CategoryID Int (4), CategoryName nvarchar (50), ParentID Int (4), Depth Int (4) In this way, according to the parentid level of the use of

SQL Server Books Online: executing stored procedures

Server| Stored Procedure | Execute Execute A user-defined function, system procedure, user-defined stored procedure, or extended stored procedure that performs a scalar value. Also supports the execution of strings within Transact-SQL batches To

How SQL Server views all table size information for all databases

I. BACKGROUND Previously wrote an article about: SQL Server cursor Usage: View a database of all table size information (sizes of all tables in a DB), which lists information about all tables of a data, including the number of records in a table,

8 errors that are easiest to make when purchasing SQL Server hardware

Creating a new SQL Server system can be tricky. SQL Server is a product that really focuses on hardware, and its performance has a lot to do with how you configure the server, especially how to configure your server's storage subsystem. With this in

Using SQL Server 2000 to provide existing code as a Web service

First, Introduction Microsoft SQL Server 2000 's XML functionality simplifies the task of providing existing code as a Web service. This article focuses on the transformation between incoming and outgoing Transact SQL code data and XML messages

Improve performance with SQL Server 2005 indexed view Two

View Restrictions To create an index on a view in SQL Server 2005, the corresponding view definition must include: Any, not any OPENROWSET, OPENQUERY, OpenDataSource Arithmetic OPENXML on imprecise (floating, real) values COMPUTE, COMPUTE by

Analysis of backward compatibility of SQL Server replication

Although SQL Server 2008 has so far been considered a new version of the database system. But it will continue to update. For this reason, database administrators still need to consider backward compatibility issues when deploying SQL Server 2008.

SQL Server 2012 Installation SQL2012 error occurred when Windows feature NetFx3 was enabled

In the process of installing SQL Server 2012 on a Windows Server 2012 server, an error was reported, an installation failed,In the process of installing SQL 2012. The following error occurred: An error occurred while enabling Windows feature NetFx3,

SQL Server 2008 installation Issue Resolution GOTO

Some problem solving methods for installing sqlserver20081, the installation of SQL Server appears as shown, the solution is: start → run → input "regedit" → find "hkey_local_machine\system\currentcontrolset\control\session Manager "Click the item

SQL Server Data Recovery to pointing point in time (Full recovery)

db2

SQL Server Data Recovery to pointing point in time (Full recovery)When it comes to database recovery, in fact, we generally have two of the most common, one is simple recovery, through the backup bak file directly to restore the database, the

SQL Server function Chapter mathematical Functions, String functions, conversion functions, time-date functions

Functions in a database are similar to functions in C #sequentially,The price is special here.Print can be printed in the Message bar.Mathematical functionsCeiling () The upper limit does not care how big the decimal point is, directly ignoreFloor ()

Database Fundamentals-(SQL Server) constraints

Databasedefinition : Some data files stored on the hard diskMemory:Some data that the computer temporarily stores. Net-sql ServerPhp-mysqlJava-oreaclData types in the database:int decimal (length, number of decimal digits)Bit-Boolean type 1-true

SQL Server Database Performance optimization

Analyze and compare execution time plan reads1. View execution time and CPUSET STATISTICS Time Onselect * from Bus_devhistorydataset statistics time offYou can see it in the message after execution.2. View the operation of the query for I/OSET

Total Pages: 923 1 .... 116 117 118 119 120 .... 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.