Accessing SQL Server Using HTTP
... Accessing SQL Server Using HTTP You can access SQL Server using HTTP (Hypertext Transfer Protocol). This allows you to run SQL statements from a browser. For ... Before you can access SQL Server using HTTP, you'll need to configure SQL XML support for IIS (Internet Information Server) . Configuring SQL XML Support for IIS To configure SQL XML support for...
Ngày tải lên: 28/10/2013, 19:15
... Connecting to SQL Server Using Integrated Security from ASP.NET Problem You want to coordinate Windows security accounts between an ASP.NET application and SQL Server. Solution Connect to SQL Server ... authenticating a connection. SQL Server Authentication Uses a SQL Server login account providing a user ID and password. Integrated security requires that the SQL...
Ngày tải lên: 24/12/2013, 05:15
... Using the SQL Server OPENXML() Function SQL Server contains a function named OPENXML() that allows you to read XML data ... of two customers using OPENXML() and to insert two new rows into the Customers table using the values from that XML data. Listing 16.15 shows a script named AddCustomersXml .sql that creates ... 16.16 shows a script named RunAddCustomers .sql that run...
Ngày tải lên: 24/10/2013, 12:15
Using a SqlConnection Object to Connect to a SQL Server Database phần 1
... illustrates how to use a SqlConnection object to connect to a SQL Server database */ using System; using System.Data; using System.Data.SqlClient; class MySqlConnection { public ... Using a SqlConnection Object to Connect to a SQL Server Database You create a SqlConnection object using the SqlConnection() constructor. This constructor ... passed to SQL Server...
Ngày tải lên: 07/11/2013, 10:15
Tài liệu Using a SqlConnection Object to Connect to a SQL Server Database phần 2 doc
... SqlConnection object SqlConnection mySqlConnection = new SqlConnection(" ;server= localhost;database=Northwind;uid=sa;pwd=sa"); // monitor the StateChange event using the StateChangeHandler() ... Console.WriteLine("Calling mySqlConnection.Open()"); mySqlConnection.Open(); // close mySqlConnection, causing the State to change from Open // to Closed Consol...
Ngày tải lên: 14/12/2013, 13:15
Tài liệu Using SQL Server pdf
... Using SQL Server In this section, you'll explore some of the tools you use to manage SQL Server. Specifically, you'll learn how to start and stop SQL Server using the Service ... administer SQL Server. Starting and Stopping SQL Server To start and stop SQL Server, you use the Service Manager tool. To open the Service Manager, you select Start ➣ Programs...
Ngày tải lên: 14/12/2013, 13:15
Tài liệu Executing a SQL Server Stored Procedure By Using ActiveX Data Objects doc
... Executing a SQL Server Stored Procedure By Using ActiveX Data Objects If you are doing an ADO development with client server for backends, then you probably call ... the T -SQL for CustOrderHist in Listing A.7. This stored procedure returns product names and the total quantity purchased of those products for a given customer. Listing A.7 Northwind SQL Server ... purchased of...
Ngày tải lên: 14/12/2013, 20:16
Tài liệu Using the SQL Server FOR XML Clause ppt
... Using the SQL Server FOR XML Clause With a standard SQL SELECT statement, you submit your SELECT statement to the database for execution and get results back in the form of rows. SQL Server ... SELECT statement is contained in a T -SQL script named ForXmlRaw .sql, which is located in the sql directory for this chapter. You can load the ForXmlRaw .sql T -SQL script into Qu...
Ngày tải lên: 14/12/2013, 22:15
Tài liệu Using the SQL Server Documentation doc
... Using the SQL Server Documentation SQL Server also comes with extensive electronic documentation. To access this documentation, you select Start ➣ Programs ➣ Microsoft SQL Server ➣ ... the SQL Server documentation home page. Figure 1.9: SQL Server documentation home page You can browse the online books using the Contents tab, and you can search for specific infor...
Ngày tải lên: 24/12/2013, 01:17
Tài liệu Using ADO.NET and SQL Server DBMS Transactions Together doc
... Recipe 6.4 Using ADO.NET and SQL Server DBMS Transactions Together Problem You need to use a DBMS transaction within a SQL Server stored procedure from an ADO.NET transaction with the SQL Server ... Namespaces, variables, and constants using System; using System.Configuration; using System.Windows.Forms; using System.Data; using System.Data.SqlClient; private Sq...
Ngày tải lên: 21/01/2014, 11:20