jCay.com

last scripts

popular scripts

top rated

search
 
search:

Advertisment

Two Table Join

DeEnFrSp
Hits: 40

Two Table Join

Rating 0.0 0.0
Outputting data from two tables is almost as easy as displaying from one. This example utilizes two tables with state information on them. The first table (state_order) contains state abbreviations (state), state names (statename) the year each state was admitted into the union (year) and the numeric order they entered in (entered). The second table (state_capitals) contains state abbreviations (state), state names (state) and state capitals (capital). The where statement looks to make a match on the field that each table has in common to ouput the correct capital with all the info from the state_order table.


Platform(s): n/a
Date: Jun, 26 2000
Author: http://www.codeave.com/asp/code.asp?u_log=20

Ratings

Number of Ratings: 0 Votes
5     
0%
4
0%
3
0%
2
0%
1
0%
Visitor Voting Booth: Rate It!

Others Scripts

Vote/User Poll (With a db and IP Capture)

ASP/Scripts and Components/Polls and Voting

Impression Counter (With a db)

ASP/Tips and Tutorials/Counters

ASP Hit Counter

ASP/Scripts and Components/Counters/Text Based

Simple Table Display With Where Clause (Hard Coded)

ASP/Tips and Tutorials/Database-related

Access Article Db

ASP/Scripts and Components/News Publishing

Write and Read A Cookie

ASP/Tips and Tutorials/Cookies and Sessions

Search db by Field

ASP/Tips and Tutorials/Database-related

Form Dates

ASP/Tips and Tutorials/Date and Time

404 Error Page (CDONTS)

ASP/Tips and Tutorials/Error Handling

JavaScript Image Click ScriptWriter

JavaScript/Scripts and Programs/Image Effects/Image Display

Disk Space Usage

ASP/Scripts and Components/Server Management

Multiple Form Selection

ASP/Tips and Tutorials/Database-related

Search Within Search Results

ASP/Tips and Tutorials/Database-related

Mail A Link

ASP/Scripts and Components/Site Recommendation

Multiple Form Selection (Where In)

ASP/Tips and Tutorials/Database-related

Color Safe Palette or Nested For Next Loops & Arrays

ASP/Tips and Tutorials/Miscellaneous

Simple Database Input and Display

ASP/Scripts and Components/Database Tools

Select All Text

JavaScript/Scripts and Programs/Forms

Search Many Sites from One Location

ASP/Scripts and Components/Searching/Web Search

Alert Box

JavaScript/Scripts and Programs/Alerts and Prompts

Confirm Alert Box

JavaScript/Scripts and Programs/Alerts and Prompts

Output To MSExcel

ASP/Tips and Tutorials/Excel and ASP

Search Database

ASP/Tips and Tutorials/Database-related

CodeAve.com

ASP/Web Sites

Count Click Throughs (With a Db)

ASP/Scripts and Components/Click Tracking

Access To HTML

ASP/Tips and Tutorials/File Manipulation

ASP Session Counter

ASP/Scripts and Components/Counters/Text Based

Import CSV to HTML

ASP/Tips and Tutorials/File Manipulation

Date Dependent Content

ASP/Tips and Tutorials/Content Management

ASP Cookie Writer

ASP/Scripts and Components/Development Tools/Cookies

MouseOver Pop-Up Windows

JavaScript/Scripts and Programs/Windows and Frames

Link & Display Text Files

ASP/Tips and Tutorials/File Manipulation

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

ASP/Tips and Tutorials/Database-related

String Functions (Len, Left, Mid, Right)

ASP/Tips and Tutorials/Development

Financial Graph

ASP/Tips and Tutorials/Graphs and Charts

Display an Excel DB

ASP/Tips and Tutorials/Excel and ASP

ASP Form Input to HTML

ASP/Tips and Tutorials/File Manipulation

Name Search & Hyperlinks to Detail

ASP/Tips and Tutorials/Database-related

Display Table Script Writer

ASP/Tips and Tutorials/Database-related

Create Excel on the Server

ASP/Tips and Tutorials/Excel and ASP

Framed Click Through

ASP/Tips and Tutorials/Site Navigation

404 Error Page (With a Db an IP Capture)

ASP/Tips and Tutorials/Error Handling

Date Last Modified ScriptWriter

ASP/Tips and Tutorials/Date and Time