Create database objects
-
1. Trigger Trigger là 1 đối tượng (object) trong database cho phép chạy thủ tục lưu trữ (stored procedure) nào đó mỗi khi có 1 thay đổi xảy ra. Có 2 loại Trigger: • DDL Trigger: áp dụng cho những thay đổi liên quan đến cấu trúc của database, như: ALTER DATABASE, CREATE TABLE, … • DML Trigger: áp dụng cho những thay đổi liên quan trực tiếp đến dữ liệu, như: UPDATE, INSERT, DELETE.
15p keobot 27-08-2013 196 16 Download
-
Built-In Database Objects In addition to creating the database files, several other structures are created. Data dictionary: Contains descriptions of the objects in the database Dynamic performance tables: Contains information used by the database administrator (DBA) to monitor and tune the database and instance PL/SQL packages: Program units adding functionality to the database. These packages are created when the catproc.sql script is run after the CREATE DATABASE command. PL/SQL packages will not be discussed within the scope of this course.
20p trinh02 28-01-2013 63 4 Download
-
Course Objectives This course is the first in a series of courses that cover the core database administrator tasks. The tasks covered in this course are: Outlining the Oracle architecture Planning and creating databases Managing the memory, process, physical, and logical structures Managing database users by controlling and monitoring their actions Using the Globalization Support features
4p trinh02 28-01-2013 60 4 Download
-
Once the SRS has been approved, implementation begins. Programming teams have many options: The programmers can simply start building the code and create the objects and user interface elements. Designers can build a user interface prototype to demonstrate to the users, stakeholders and the rest of the team. Any code used to develop the prototype is typically thrown away once the design has been finalized. Pictures, flow charts, data flow diagrams, database design diagrams and other visual tools can be used to determine aspects of the design and architecture.
20p thanh_k8cntt 13-09-2012 64 6 Download
-
Bài 7: KẾT NỐI DATABASE. 1. ADO là gì? ADO Có thể dung để truy cập DL từ trang web. ADO là công nghệ của Microsoft ADO được viết tắt là ActiveX Data Objects ADO là một thành phần của Active-X ADO tự động cài đặt khi cài IIS ADO là môi trường lập trình giao tiếp với CSDL- database 1. Cách truy xuất database bằng ADO trong ASP. Cách thông thường để truy cập CSDL từ trang web ASP như sau: 1. 2. 3. 4. 5. 6. 7. Create an ADO connection to a database Open the database connection Create an ADO recordset...
14p tengteng14 20-12-2011 474 21 Download
-
[ Team LiB ] Recipe 10.11 Creating DataSet Relationships from SQL Server Relationships Problem You need to create relationships between DataTable objects within your DataSet at runtime based on the relationships that are defined in your SQL Server database.
7p luvpro 04-08-2010 128 8 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 10.6 Creating a New Access Database Problem You need to create a new Microsoft Access database. Solution Use ActiveX Database Objects Extensions (ADOX) from .NET through COM interop. You'll need a reference to Microsoft ADO Ext. 2.7 for DDL and Security from the COM tab in Visual Studio
3p luvpro 04-08-2010 95 6 Download
-
[ Team LiB ] Recipe 3.9 Finding Rows in a DataView Problem You need to find a row or group of rows in a DataView meeting certain criteria. Solution Use a sorted DataView to find rows using columns that are not part of the primary key. The sample code contains two event handlers: Form.Load Sets up the sample by creating a DataTable containing the Orders table from the Northwind database. A DataView of the table sorted by the CustomerID and EmployeeID is created. Find Button.Click Uses the FindRows( ) method of the DataView to retrieve the array of DataRowView objects...
4p luvpro 04-08-2010 119 5 Download
-
Setting the InsertCommand Property of a DataAdapter The following example creates a SqlCommand object named myInsertCommand that contains a call to the AddProduct4() stored procedure
8p daisuphu 29-07-2010 118 22 Download
-
Using a SqlConnection Object to Connect to a SQL Server Database You create a SqlConnection object using the SqlConnection() constructor. This constructor is overloaded
7p daisuphu 29-07-2010 162 19 Download
-
Using a DataReader Object in Visual Studio .NET You can't visually create a DataReader object in Visual Studio .NET (VS .NET); you can only create them using program statements.
4p daisuphu 29-07-2010 116 13 Download
-
The DataViewManager Class A DataViewManager allows you to centrally manage multiple DataView objects in a DataSet. A DataViewManager also allows you to create DataView objects on the fly at runtime
1p daisuphu 29-07-2010 81 10 Download
-
Modifying Data Using a Strongly Typed DataSet In Chapter 10, you saw how to create and use a strongly typed DataSet class named MyDataSet. You can use objects of this class to represent the Customers table and rows from that table
3p daisuphu 29-07-2010 93 7 Download
-
Creating Child DataView Objects You can create a child DataView from a parent DataRowView using the CreateChildView() method. You can then view the DataRowView objects from the child DataView.
4p daisuphu 29-07-2010 96 6 Download
-
Creating and Using a DataView Object In this section, you'll learn how to filter and sort rows with a DataView object. You create a DataView object using one of the following constructors
5p daisuphu 29-07-2010 112 11 Download
-
Creating and Using a DataViewManager Object To create a DataViewManager, you use one of the following constructors: DataViewManager() DataViewManager
4p daisuphu 29-07-2010 84 7 Download
-
Creating and Using a DataRelation Object In this section, you'll learn how to create a DataRelation object to define a relationship between two DataTable objects that hold some rows from the Customers and Orders tables
7p daisuphu 29-07-2010 120 16 Download
-
Creating a UniqueConstraint Object In this section, you'll learn how to create a UniqueConstraint object. The UniqueConstraint constructor is overloaded as follows
3p daisuphu 29-07-2010 74 5 Download
-
Creating a SqlDataReader Object You can create a DataReader object only by calling the ExecuteReader() method of a Command object. Command objects were covered in the previous chapter.
1p daisuphu 29-07-2010 66 7 Download