TAILIEUCHUNG - Sams Teach Yourself Database Programming with Visual C++ 6 in 21 Days phần 8

Đôi khi, tuy nhiên, nó có thể là cần thiết để có được một số tất cả những đôi giày. Điều đó có nghĩa là bạn sẽ phải nói với các cơ sở dữ liệu để đếm các bản ghi trong bảng BasketballShoes, số các bản ghi trong bảng CrossTrainers, và thêm hai con số | Teach Yourself Database Programming with Visual C 6 in 21 days -- Day 18-Querying a Data Source with OLE DB DBSCHEMA TRANSLATIONS Simpo PDF Merge andBSpHtEUnregiAleediVersoraE http DBSCHEMA VIEW COLUMN USAGE DBSCHEMA VIEW TABLE USAGE DBSCHEMA VIEWS The ITableDefinition Interface The ITableDefinition interface creates deletes and modifies data source tables. This interface is optional. It defines the standard IUnknown interface methods QueryInterface AddRef and Release and provides four additional methods AddColumn CreateTable DropColumn and DropTable. These methods are defined as follows HRESULT AddColumn DBID pTableID DBCOLUMNDESC pColDesc DBID ppColId HRESULT CreateTable IUnknown pUnkOuter DBID pTableID ULONG cColumnDescs DBCOLUMNDESC rgColumnDescs REFIID riid ULONG cPropertySets DBPROPSET rgPropertySets DBID ppTableID IUnknown ppRowset HRESULT DropColumn DBID pTableID DBID pColumnID HRESULT DropTable DBID pTableID The DropColumn and DropTable methods should be self-explanatory with both methods taking the name of a table and column if applicable to delete. With the AddColumn method the pTableID parameter takes the name of the table to which the column will be added. The pColDesc parameter describes the column to add. The pColId parameter returns a pointer to the column that was just created. The CreateTable method pAggInterface parameter is used if the command is part of an aggregate and pTableID specifies the name of the table to create. The cColDescs and pColDescs parameters define the number and description of the columns to create. The riid parameter specifies the row set interface to return for the table you are creating. The cPropSet parameter specifies the number of properties used in the DBPROPSET array. The rgPropSet parameter is an array of DBPROPSET structures which contain the table properties. Finally the ppTableID and ppRowset parameters return pointers to the table ID and row set for the newly created table. Listing .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.