Executing a sql server
-
Thực hiện một SQL Server lưu trữ Thủ tục Bởi Sử dụng ActiveX Data Objects Nếu bạn đang làm một phát triển ADO với máy chủ của khách hàng đối với hậu phương, sau đó bạn có thể gọi thủ tục lưu trữ.
2p luvpro 06-08-2010 86 3 Download
-
[ Team LiB ] Recipe 8.11 Using a Single Stored Procedure to Update Multiple Changes to a SQL Server Database Problem You need to update a SQL Server 2000 database with changes to multiple rows in a DataSet by executing a single stored procedure.
7p luvpro 04-08-2010 159 20 Download
-
[ Team LiB ] Recipe 10.9 Getting a SQL Server Query Plan Problem You need to retrieve information about how query statements are executed by the SQL Server. Solution Use the SET SHOWPLAN_TEXT statement. The sample code executes the SET SHOWPLAN_TEXT statement
3p luvpro 04-08-2010 125 8 Download
-
[ Team LiB ] Recipe 10.7 Creating a New SQL Server Database Problem You need to create a new database in your SQL Server. Solution Use the CREATE DATABASE statement. The sample code executes the DDL statement—using the ExecuteNonQuery( )
3p luvpro 04-08-2010 147 11 Download
-
[ Team LiB ] Recipe 10.8 Adding Tables to a Database Problem You need to add a table to an existing database. Solution Use the CREATE TABLE statement. The sample code executes the DDL statement—using the ExecuteNonQuery( ) method of the Command object—to add a table to an existing SQL Server database.
3p luvpro 04-08-2010 98 6 Download
-
[ Team LiB ] Recipe 3.13 Executing Queries That Use COMPUTE BY Problem The SQL Server .NET data provider does not support the COMPUTE BY clause but you want to execute a COMPUTE BY statement using ADO.NET.
2p luvpro 04-08-2010 96 3 Download
-
[ Team LiB ] Recipe 2.13 Executing SQL Server User-Defined Scalar Functions Problem Your SQL Server 2000 database includes a user-defined function that returns a scalar value. You want to retrieve the value from this function using ADO.NET.
2p luvpro 04-08-2010 136 8 Download
-
The SqlCommand Class You use an object of the SqlCommand class to execute a command against a SQL Server database
3p daisuphu 29-07-2010 121 9 Download
-
Executing SQL Server Stored Procedures In Chapter 4, you saw how to create and execute SQL Server stored procedures using TSQL. You execute a stored procedure using the T-SQL EXECUTE statement.
6p daisuphu 29-07-2010 174 48 Download