jCay.org

last scripts

popular scripts

top rated

search
 
search:

Advertisment

Database-related

DeEnFrSp
Amount: 137
Displaying: 1 - 10
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 >>
Sort Listings By:
Hits: 3904

Connecting To A Database and Retrieving Results in 9 Easy Steps

Rating 0.0 0.0
Now everybody can connect to a database. Simple database access is a huge feature of ASP and one of the most widely used by developers but when you are first learning, it‘s hard to separate the database stuff from the rest of the code so I made this example. I even removed the includes and everything.
Platform(s): n/a Date: May, 22 2000
DETAIL
Hits: 2681

Filling Data into Select List

Rating 4.0 4.0
In this short ASP source code, we will pull some data from a database and fill it into a select list. We will create a custom and dynamic output.
Platform(s): Windows Date: Mar, 22 2006
DETAIL
Hits: 2618

Counting Records in SQL Script

Rating 3.5 3.5
Sometimes we worry about limits of database table and we need to know how manay recods we have. In ASP we could count all recods using a loop. But if we have a small piece of knowledge about SQL script, our script works better and faster.
Platform(s): Date: Sep, 06 2006
DETAIL
Hits: 2464

Using SUM Function in An SQL Statement

Rating 3.0 3.0
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.
Platform(s): n/a Date: Apr, 01 2004
DETAIL
Hits: 2033

Make database access safer with transactions

Rating 5.0 5.0
You can use transactions in ASP as a kind of insurance policy for your database activities, making them safer and providing better error recovery. Transactions are most useful when doing multiple actions on multiple tables. The example below shows just how easy it is to use transactions from ASP, inserting a record into a table and doing a "rollback" if there's a problem.
Platform(s): Windows Date: Jan, 08 2007
DETAIL
Hits: 2031

SQL: Sum, Average, Max, Min, Count, Detail

Rating 3.0 3.0
This example shows how to perform a variety of statistics on your data using simple SQL such as Sum, Average, Max, Min, and Count. It uses stock trading performance of EPOS as an example.
Platform(s): n/a Date: Apr, 20 2001
DETAIL
Hits: 1739

Custom Paging in ASP

Rating 4.0 4.0
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.
Platform(s): n/a Date: Nov, 12 2003
DETAIL
Hits: 1678

How to connect to database using a connection string

Rating 4.0 4.0
The power of Active Server Pages comes through when we tie databases to our web sites. To connect to a database, ASP uses what is called ActiveX Data Objects, or ADO for short. ADO comes with ASP, and can be used easily from your ASP pages. In this tutorial we will show you how to connect to Access database and retrieve all the records from the table.
Platform(s): Windows Date: Sep, 25 2006
DETAIL
Hits: 1594

Executing Transact-SQL UPDATE statement

Rating 0.0 0.0
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
Platform(s): n/a Date: Dec, 18 2003
DETAIL
Hits: 1553

Executing Transact-SQL INSERT statement

Rating 4.0 4.0
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.
Platform(s): n/a Date: Dec, 18 2003
DETAIL
Amount: 137
Displaying: 1 - 10
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 >>