Tài liệu Retrieving Database Schema Information from SQL Server pptx
... nvarchar(128) Database name [ Team LiB ] Recipe 10.2 Retrieving Database Schema Information from SQL Server Problem You need to retrieve database schema information from a SQL Server database. ... through the following syntax: INFORMATION _SCHEMA. TABLES Table 10-1 lists the information schema views available in SQL Server 2000. Table 10-1. In...
Ngày tải lên: 24/12/2013, 05:15
... more information about the sp_helpconstraint system stored procedure, see Microsoft SQL Server Books Online. [ Team LiB ] [ Team LiB ] Recipe 10.3 Retrieving Column Default Values from ... Column Default Values from SQL Server Problem The DataColumn object exposes a Default property. While the FillSchema( ) method of the DataAdapter returns schema information,...
Ngày tải lên: 24/12/2013, 05:15
... xmlTextBox.Text = ds.GetXml( ); Discussion SQL Server 2000 introduced support for retrieving data in XML format using the FOR XML clause. The .NET SQL Server data provider SqlCommand object has an ExecuteXmlReader( ... an XML stream directly from SQL Server, where it returns an XmlReader that contains the results of the SQL query. The ExecuteXmlReader( ) method can only...
Ngày tải lên: 24/12/2013, 05:15
Tài liệu Retrieving a Single Value from a Query pdf
... returns a single value from the data source rather than a table or data stream. While the ExecuteScalar( ) method does not result in a performance improvement when compared to retrieving a single
Ngày tải lên: 14/12/2013, 18:16
Tài liệu Specifying Locking Hints in a SQL Server Database doc
... command. SqlCommand cmd = new SqlCommand(sqlText, conn, tran); // Create the DataAdapter and CommandBuilder. SqlDataAdapter da = new SqlDataAdapter(cmd); SqlCommandBuilder cb = new SqlCommandBuilder(da); ... SQL Server Locks Object counter that can be used to monitor lock activity. For more information about database locks, using locking hints, or monitoring database lock...
Ngày tải lên: 14/12/2013, 18:16
Tài liệu Getting an Identity Column Value from SQL Server pptx
... Value from SQL Server Problem When you add a row into a SQL Server table that has an identity column, the value assigned to the column in the DataTable is replaced by a value generated by the database. ... so only the FirstReturnedRecord method will work with a batch SQL command. The SCOPE_IDENTITY( ) function was introduced in SQL Server 2000 to make it easier to wor...
Ngày tải lên: 21/01/2014, 11:20
Tài liệu Back Up and Verify a SQL Server Database doc
... the SQL Servers LoadSQLServers(Me.lstSQLServers) End Sub 3. On the lstSQLServers list box, add the code in Listing 7.9 to the SelectedIndexChanged event. This routine calls both the GetSQLDatabases, ... ' Log on to the SQL Server. Dim osvr As SQLDMO.SQLServer = New SQLDMO.SQLServer() osvr.LoginSecure = True osvr.Connect(strSQLServer) lstBackupDevices.Items.Cle...
Ngày tải lên: 21/01/2014, 12:20
Tài liệu Oracle Database Advanced Security Administrator''''s Guide pptx
... at http://otn.oracle.com/documentation/ For information from third-party vendors, see: ■ ACE /Server Administration Manual, from Security Dynamics ■ ACE /Server Client for UNIX, from Security Dynamics ■ ACE /Server Installation Manual, from ... Configure a Service Principal for an Oracle Database Server 6-2 Task 3: Extract a Service Table from Kerberos 6-3 Task 4: Install a...
Ngày tải lên: 10/12/2013, 13:15
Tài liệu Quy Trình Cài Đặt Microsoft SQL Server 2005 Enterprise pdf
... requirements for SQL Server 2005. 2. Insert the SQL Server 2005 DVD or CD . 3. If the SQL Server 2005 Setup screen is displayed, click Run the SQL Server Installation Wizard. 4. If the SQL Server 2005 ... the status of the SQL Server services installed. • Connect to SQL Server using sqlcmd.exe or SQL Server Management Studio. V. Chi tiết cài đặt: - Phiên bản...
Ngày tải lên: 22/12/2013, 11:16
Tài liệu Nesting Manual Transactions with the SQL Server .NET Data Provider ppt
... "Description FROM Categories"; da = new SqlDataAdapter(sqlText, ConfigurationSettings.AppSettings[" ;Sql_ ConnectString"]); dt = new DataTable(CATEGORIES_TABLE); da.FillSchema(dt, SchemaType.Source); ... parameters. SqlCommand cmd = new SqlCommand(sqlText, conn, tran); cmd.Parameters.Add(new SqlParameter("@CategoryName", SqlDbType.NVarChar, 15));...
Ngày tải lên: 24/12/2013, 05:15