The Wayback Machine - https://web.archive.org/web/20120122055414/http://www.codeguru.com:80/cpp/data/

    Data

    Linq-To-XML Style of Node Creation for C++

    This article discusses the new C++ Elmax XML Library feature to implement Linq-To-XML node creation to write XML files. Linq-To-XML node creation is the natural way to create nodes with code that is structurally identical to resultant XML.

    Improve Microsoft Visual C++ Application Security and Robustness with SafeInt

    In this age of cloud computing, massive parallel systems and complex security threats like identity theft and decentralized botnets, devoting resources to combat the seemingly age-old issue of integer overflow appears distinctly passC). Despite the fact that integer overflow is such a well know problem, particularly within C and C++ programming, the problem remains a real issue from both a defect and security standpoint, that's why the introduction of the SafeInt template class in Visual C++ 2010 to address overflows is a great addition.

    C++ Tutorial: 10 New STL Algorithms That Will Make You A More Productive Developer

    Unquestionably, the most effective tool for a C++ programmer's productivity is the Standard library's rich collection of algorithms. In 2008, about 20 new algorithms were voted into the C++0x draft standard. These new algorithms let you among the rest copy n elements intuitively, perform set theory operations, and handle partitions conveniently. Find out how to use these algorithms to make your code more efficient and intuitive.

    Simplify Visual C++ Application Deployment with Manifest Files

    Application manifest files provide a declarative means for an application to detail its dependencies and runtime requirements. Each version of Windows and Visual C++ adds further options that can be specified in the application manifest file, and it is important for correct application deployment and execution that the Visual C++ developer keeps up to date with these advances.

    C++ Tutorial: Enhance Type Safety and Code Clarity with the nullptr Keyword

    Find out how to use nullptr to avert bugs and simplify the future maintenance of your C++ applications.

    The Smart Pointer That Makes Your C++ Applications Safer - std::unique_ptr

    Using shared_ptr instead of raw pointers helps you avoid the common pitfalls associated with raw pointers but in some cases, its performance isn't satisfactory. Unique_ptr is a new C++0x smart pointer that is compact, fast and fully compatible with the standard library. Find out how to use unique_ptr to make your code safer without sacrificing performance.

    Basics of SQL Server 2008 Locking

    Relational databases are designed for multiple simultaneous users, and Microsoft SQL Server is no different. However, supporting multiple users requires some form of concurrency control, which in SQL Server's case means transaction isolation and locking. Read on to learn how SQL Server 2008 implements locking.

    Using the ADO.NET Entity Framework with the Advantage Database Server

    Learn how to use Microsoft's .NET Entity Framework to connect to, consume and update an Advantage database.

    Using C++0x Lambda Expressions in Microsoft Visual Studio

    In this C++ tutorial, learn how to utilize Lambda expressions in your C++ Applications.

    Using LINQ with Dynamic Where Clauses

    Do you need to create Dynamic Where Clauses at runtime? No need to use string concatenation with SQL, LINQ is fully capable of performing the same task.

    SQL Server Modeling Services with Microsoft Visual Studio 2010 Beta 2

    Learn how to use SQL Modeling Services to hunt for interdependencies without having to access source code.

    SELECT, INSERT, UPDATE with the SQL MERGE Statement

    In today's column we'll demonstrate how and when to use the new TSQL MERGE statement and how this can be a helpful addition to your toolbox.

    SQL Server 2008 Policy Management

    Learn how to define policies and use them to better manage your SQL Server 2008 instances.

    Writing UDFs for Firebird Embedded SQL Server

    This article was written mainly for developers who use Firebird Embedded SQL Server in .Net framework applications and want to speed up or optimize DB queries. We will describe how to create your own native Firebird extension and show some approaches how to use it in managed code applications.

    XMLFoundation

    An Object Oriented approach to handling XML.

    VIDEO: ASP.NET Dynamic Data

    This tutorial shows you how to use Visual Studio 2008 with SP1 to build your first Dynamic Data web application and explore its features.

    SQLiteTbl, a C++ Class that Provides a CRecordSet-Like Interface to SQLite

    Explore a CRecordSet-like interface to a SQLite database table.

    Deploying and Configuring SQL Server Integration Services Packages Without the Wizard

    By Dee Quang - Ever get confused by or dislike using the SQL Server Integration Services deployment wizard? Learn how to manually deploy the packages to SQL Server 2005 and configure the packages in a multitude of ways as well.

    Code: XML Serializer

    Serialize and deserialize XML files and XML buffer with this set of macros and classes. The serializer uses ATL String and ATL collections. Get the object representations of XML files and a means to store and load objects to and from XML.

    Faster and Friendlier Access to Oracle's OCI API

    Why get bogged down in the quicksand of the Oracle Call Interface (OCI) when you can get the same service with less code and fewer headaches with Vincent Rogier's OCILIB?

    Libxml2: Everything You Need in an XML Library

    Got XML files? Look no further than libxml2, which gives you both DOM and SAX model XML parsing in a single freeware library that works with most common languages in all popular platforms including Linux and Win32/Win64.

    Create MySQL 5.1 Storage Engine Plugins Under Win32

    A MySQL Storage engine requires functions that MySQL provides. Therefore, you normally need to link it into mysqld-core under Windows because mysqld.exe doesn't export all required functions (because it's an .exe, not a .dll). So, you're unable to import the required functions in our Plugin. Learn a possible way to circumvent this limitation by using the .map files that are provided with MySQL.

    Importing Data into SQL Server

    by William R. Vaughn - Having problems importing large amounts of data? ADO.NET has only one method designed to help with this task: the SqlBulkCopy class exposed in ADO.NET 2.0.

    Hierarchical TableAdapters 301

    Are you having problems setting up a TableAdapter that can be fed from stored procedures instead of base tables? Here is a road map to guide you to success.

    Ponderings about the Tech Ed 2007 Keynote

    The people at Microsoft are busy with lots of products. Did someone forget that they should be excited about them?

    Temporary Tables vs. Table Variables and Their Effect on SQL Server Performance

    Follow an experiment and draw interesting conclusions on where and when to use temporary tables or table variables.

    Report Solution Patterns and Recipes: Creating Sparklines

    In the last of this three-part SQL Server Reporting Services recipe series, Wrox author Paul Turley shows how to create the graphics for word-size graphics that visualization pioneer Edward Tufte dubbed sparklines.

    Visual FoxPro: Its Day Has Finally Come

    If you thought the end of Visual FoxPro had already happened, then you are wrong. Its end is now.

    Forging Transact SQL Code with CodeSmith

    If you're haven't used CodeSmith for your TSQL coding yet, now's the time. This template-based code generator enables you to add fire-and-forget programming to your TSQL development.

    SQL Server 2005 Compact Edition: The Little Engine That Can

    Microsoft SQL Server 2005 Compact Edition provides relational database functionality for mobile and desktop applications through a lightweight and easily distributable engine. Take a look under the hood.

    Tip: SQL Express Configuration Issue

    Learn how to conquer a SQL Express 2005 remote connection issue.

    News: Don't Embed That Database!

    Did you replace MSDE with SQL Server 2005 Express Edition? Did you make the wrong move?

    Getting Started with SQL Server Service Broker

    Learn how the Service Broker provides the "plumbing" to let you pass messages between applications, using SQL Server as the transport mechanism.

    Designing a SQL Service Broker Control Bus

    SQL Server Management Studio just doesn't cut it for complicated configuration and monitoring implementations. Learn how to implement your own SQL Service Broker (SSB) control bus solution to serve the needs of complex SQL Server-based messaging solutions.

    Controlling an Object's Creation Based on Its Key Value Representing a Unique Resource

    Learn how to write server applications. One of the recurring tasks was dealing with the problem of creating an instance of a class associated with a unique resource of the operating system, such as a file.

    MySQL UDFs

    Learn how to extend MySQL with your own functions in C/C++.

    SQL Server 2005 Service Broker Plays Well with Older Relatives

    You can leverage SQL 2005 Server Service Broker with existing technologies such as SQL Server 2000 and MSMQ. BizTalk and SSB external activation are viable options, but a simple polling solution is easier.

    Creating Custom WPF Controls

    Custom controls assist developers in maximizing code reuse and minimizing headaches. Learn the process of creating custom controls within Microsoft's latest UI model, the Windows Presentation Foundation (WPF).

    Extracting/Copying Users and Permissions Between Databases

    Learn about a pair of stored procedures that can dump all users, role memberships, and permissions in a database, or copy them from one database to another.

    Using SQL Server to Implement the Publish-Subscribe Integration Pattern

    Utilizing design patterns with SQL Server 2005 Service Broker enables you to assess and select appropriate solutions for all of your SQL Server 2005 asynchronous messaging needs.

    A PDF Solution for All Programming Platforms

    To begin writing raw PDF files, you need a solid working knowledge of PostScript—and that's not pretty. In reality, you need a complete PDF library that handles all your document-creation needs.

    Help Your Application Users Become Great Spellers

    Spell checkers for the Visual C++ and Visual Basic developer are plentiful and easy to integrate. So, why not enable your interactive applications to help users look a little smarter?

    Incorporate Data Warehouse QA Checks into MOM 2005

    Microsoft Operations Manager 2005 (MOM) is a very capable monitoring tool, but it's limited when it comes to quality assurance. Learn how to use WMI and MOM's rules and notification capabilities to run automated data warehouse QA checks.

    DVD Explorer

    Learn about a new utility to analyse the data's structure on a DVD.

    Database Visualization

    When handling a project with hundreds of tables, it takes some time to understand the flows. Learn how to create a simple tool for Visualizing database tables and relations.

    SQL Server 2005 Programmability Enhancements — Common Table Expressions

    There is a plethora of new T-SQL features and enhancements in SQL Server 2005. Learn about one of them — specifically, Common Table Expressions (CTE), because they often come in handy.

    Working with INI Configuration Files Cross-Platform (Win32/Un*x, MBCS/Unicode)

    Win32 has a built-in INI file API, but writing cross-platform code is difficult because these functions aren't available on Linux.

    Microsoft Excel Automation Class

    Learn to implement and OLE and IDispatch interface to access basic Excel functions from a C++ application.

    User-Defined Functions: Powerful Alternatives to Views and Stored Procedures

    Table-valued user-defined functions (UDFs) are functionally similar to views but structurally similar to stored procedures, giving them all the important features of views and stored procedures and some additional functionality that they lack.

    Storing Session State in a SQL Server Database

    In ASP.NET 2.0, you can customize the session state store as per your requirement. Explore one of the scalable and reliable approaches for storing session variables—SQL Server.