Database
  Home arrow Database arrow Portable Database Functions
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
DATABASE

Portable Database Functions
By: Justin Cook
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 40
    2003-12-29

    Table of Contents:
  • Portable Database Functions
  • Tool #1: Quick Execution
  • Tool #2: How Fast Can You Count?
  • Tool#3: I'll Use My Own ID, Thank You
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Portable Database Functions


    (Page 1 of 5 )

    Want to write a rock-solid, dependable application, but in record time? Code efficiency is the key! This article provides useful tools and ideas to speed up your database interactions in ASP, as well as a best-practice you just might be convinced to adapt for your database-driven applications.

    Introduction

     

    Let’s face it; we live in a fast-paced society! Demands are placed upon us to meet deadlines, and a good expectation to maintain is that those deadlines will seem stressfully unrealistic. When tasked with creating a web-based application, we have to factor in time for the requirements-gathering phase, design phase, development phase, debugging phase, and finally the tedious documentation phase. (No, we can’t include the stress-induced coma phase, sorry)

     

    One of the best ways to speed up the development phase – well, besides just typing faster – is to simplify common procedures into reusable functions. This article will examine ways to do this with some common database interactions.

     

    Many development suites (i.e. Dreamweaver) provide inbuilt mechanisms for handling some pf these common procedures. But if you’re at all like me, you prefer total control over your coding. If you’re not like me, you need to watch the Matrix, and ponder deeply its significance regarding your consent to allowing programs control over your work. Ok ok, there’s nothing wrong with your preference, but at least continue reading to see if the efficiencies described appeal to you.

     

    I will cover two common procedures, and one perhaps not as common, but that I highly recommend. These are: executing SQL statements, retrieving a count of specific items within a table, and auto-incrementing. For all three we will examine a simple, reusable tool to do the job right, and fast. The most you can expect from using these tools is the burden of that deadline being lightened; the least you can expect is that they’ll make your life a little simpler.

     

    More Database Articles
    More By Justin Cook


     

    DATABASE ARTICLES

    - Building Applications with Anonymous Types
    - A Closer Look at Anonymous Types
    - Programming with Anonymous Types
    - Converting Your Excel Worksheet into a Worki...
    - Excel Reference
    - Database Programming in C# with MySQL : Usin...
    - Formatting Techniques for Data Access from E...
    - Data Access from Excel VBA
    - Generating a Multiple Table Crystal Report u...
    - ADO and the Command Object
    - On Wiring Up an ADO Data Control
    - Reading and Writing to Files on the Intranet
    - Using ADO Record to Create and Navigate Intr...
    - Using Data Access Pages to Access Data on a ...
    - Using ADO with the SQL Native Client





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek