Database programming with C by Carsten Thomsen

By Carsten Thomsen

Show description

Read Online or Download Database programming with C PDF

Similar data modeling & design books

Developing Quality Complex Database Systems: Practices, Techniques and Technologies

The target of constructing caliber complicated Database structures is to supply possibilities for making improvements to modern-day database platforms utilizing leading edge improvement practices, instruments and methods. each one bankruptcy of this booklet will offer perception into the potent use of database expertise via types, case experiences or adventure experiences.

Mapping Scientific Frontiers: The Quest for Knowledge Visualization

This is often an exam of the historical past and the state-of-the-art of the search for visualizing clinical wisdom and the dynamics of its improvement. via an interdisciplinary viewpoint this ebook provides profound visions, pivotal advances, and insightful contributions made through generations of researchers and pros, which portrays a holistic view of the underlying rules and mechanisms of the advance of technology.

Pentaho for Big Data Analytics

Improve your wisdom of huge facts and leverage the facility of Pentaho to extract its treasures evaluation A consultant to utilizing Pentaho enterprise Analytics for giant info research examine Pentaho’s visualization and reporting instruments with useful examples and information distinct insights into churning significant facts into significant wisdom with Pentaho intimately Pentaho speeds up the belief of price from sizeable info with the main whole answer for large info analytics and knowledge integration.

Mastering Data Mining with Python

Key FeaturesDive deeper into facts mining with Python – do not be complacent, sharpen your talents! From the commonest components of information mining to state-of-the-art ideas, we have you coated for any data-related challengeBecome a extra fluent and assured Python data-analyst, in complete keep watch over of its broad diversity of librariesBook DescriptionData mining is an essential component of the knowledge technology pipeline.

Additional info for Database programming with C

Sample text

The Oracle stored procedures and stored functions, and the example code to execute them shown so far, only deal with simple return values. 4 Listing 6-10 shows a stored procedure that returns a result set using cursors. Listing 6-10. CUR_TBLUSER, strLastName IN VARCHAR2) 8 IS 9 BEGIN 10 OPEN ROWS FOR SELECT * FROM TBLUSER 11 WHERE LASTNAME = strLastName; 12 END USPGETUSERSBYLASTNAME; In Listing 6-10, you can see how I first create a package definition (Lines 1 through 4) in my Oracle database, and in this package I define the CUR_TBLUSER cursor type, which is of data type REF CURSOR,5 that returns rows from the tblUser table.

Including a view in another view is called nesting, and it can be a valuable way of grouping display data. However, nesting too deeply can also result in performance problems and can certainly make it a real challenge to track down errors. There isn’t really any magic to a view or any big secrets that I can let you in on; it’s simply just a great tool for manipulating your data. In the rest of this section, I am going to look at why, when, where, and how you should use a view. NOTE The example code shown in this section is SQL Server only, but if you take a look at the accompanying example code, you’ll see that it works exactly the same with Microsoft Access queries.

This view should contain the tblUser table. The following fields should be output: Id, FirstName, LastName, and LoginName. 2) Save the view under the name viwUser. The new view should look like the one in Figure 6-11. Figure 6-11. 0 as well as SQL Server 2000, can be manipulated using the code in Listing 6-13. Listing 6-13. Update(dstUser, “viwUser”); 75 } In Listing 6-13, a data adapter and a data set were set up to retrieve and hold data from the viwUser view. The LastName column of row 2 is then updated as well as the data source with the changes in the data set.

Download PDF sample

Rated 4.70 of 5 – based on 36 votes