Add to Favorites    Make Home Page 471 Online  
 Language Categories  
 Our Services  

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!



    Send your Resume to 6000 Companies


  • ASP » Tips and Tutorials » Database-related » How to Get Identity of New Record

    A D V E R T I S E M E N T

    Today's Special: Get free Magazine from SAP!

    Search Projects & Source Codes:



    Title How to Get Identity of New Record
    Platform WinNT/2000/2003
    Price Free
    Author Visit Author Website
    Website Visit Website of - How to Get Identity of New Record
    Category ASP » Tips and Tutorials » Database-related
    Hits 281
    Description Sometimes you need the learn new record number while your are adding a new record. Following example adds a new records to a table and gets the the autonumber or identity of that records.

    A D V E R T I S E M E N T




    Google Groups Subscribe to SourceCodesWorld - Techies Talk
    Email:

    Free eBook - Interview Questions: Get over 1,000 Interview Questions in an eBook for free when you join JobsAssist. Just click on the button below to join JobsAssist and you will immediately receive the Free eBook with thousands of Interview Questions in an ebook when you join.


    Scripts Related to - How to Get Identity of New Record

    Script Name

    Using SUM Function in An SQL Statement

    Sum function can be used for to get the sum of a numeric expression evaluated over a set. This function must be placed in an SQL statement. Following example will return the sum of ratings in articles.

    Compacting an Access database from ASP code

    This source code can compact and repair your MS-Access database files. If you compact your access files regularly, it will work more faster and secure. Also you will save some hard disk space.

    Executing Transact-SQL UPDATE statement

    In this example, we will edit some records from a database. This source code helps us to edit records to database without slowing down database

    Executing Transact-SQL INSERT statement

    In this example, we will add some records to a database. This source code helps us to adding records to database without slowing down database.

    Counting Records In A Database Table

    We can count records in a table with these a few lines of codes. First we must send an SQL statement to database engine. Count of records will be first value of resultset.

    Executing Transact-SQL DELETE statement

    In this example, we will delete some records from a database. This source code helps us to deleting records to database without slowing down database.

    Simple database techniques

    When you start using ASP, you will begin working with databases. Interacting with databases can be very important. In this tutorial, we will be using a Microsoft Access Database along with technologies like ADO and the Connection and Recordset objects.

    Add N number of records to a dB

    This article shows how to insert records to a database, when the number of records that need to be inserted is unknown. A must read for ASP/ADO programmers.

    Custom Paging in ASP

    This source code displays results dividing to pages. Code provides Next Previous page links with numeric page numbers. You may modify source code to use with MS SQL or MS Access database. For this example, we have used MS SQL Server using sample database Northwind.

    Paging Records With GetRows

    You all must have seen and done stuff with the RecordSet object, infact everything is done with the RecordSet object. Now, this acticle explains how to use GetRows to page through the records that you recieve from the SELECT. It's much faster than MoveNext, because it closes the database connection immediately whereas MoveNext loops through the records with the overhead of the database connection. Plus GetRows let's you count the records correctly!

    Google Search

    Google


    Download Yahoo Messenger | Placement Papers | Free SMS | C Interview Questions | C++ Interview Questions


     Advertisements  

     A D V T

    Jobs & Career
    Freshers Jobs
    Jobs Newsletter
    Placement Papers
    Placement Papers
    GATE Preparation
    Analysis & Design Of Algo.
    Operating System
    Lexical Analysis
    GRE Preparation
    GRE Home
    1208 Antonyms Test
    5000 Word's List
    Top 100 Words' List
    Scholarships
    Top 100 CS Univ.
    Top 126 EE Univ.
    Tutorials
    Hardware Tutorial
    1500 Free eBooks
    XML Tutorial
    Webmaster Resources
    EzTraffic
    Articles
    Fun
    Send FREE SMS!
    SMS Jokes
    Love SMS
    Funny Jokes