Home | Advertising Info155 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages ASP ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: Re: Fundamental Query Info Needed
From: Mike
Date: 4/12/2000 12:57:28 PM
IP: 159.75.32.249



 

SELECT LAST, FIRST, PHONE, FAX,
Here is a queary (SQL) which combines 2 tables and adds some new fields for the output
SELECT LAST, FIRST, PHONE, FAX,
Here is a SQL statement which combines 2 seperate tables
You can use The JOIN method, Outter and Inner.
In this example several things have been done.
Pick 4 fields from a table named westwood
create a new column in the output titled NAME which would have Last, First fields
Take the FIRST field apend underscore then Append the LAST field and append @who.com and name the column EMAIL
Next is take the Uppercase of the first letter from the FIRST field and append it to the LAST field and title this column ID
Now the Union of another table (international) which doesnt have a common Key ID,
and some of the code repeats.

Hope this helps !!!!
------------------------------------------------------------------------
SELECT LAST, FIRST, PHONE, FAX,
LAST & ", " & FIRST AS NAME,
FIRST & "_" & LAST & "@who.com" AS EMAIL,
UCASE(LEFT(FIRST, 1) & LAST) AS ID
FROM westwood
UNION SELECT LAST, FIRST, PHONE, FAX,
LAST & ", " & FIRST AS NAME,
FIRST & "_" & LAST & "@who.com" AS EMAIL,
UCASE(LEFT(FIRST, 1) & LAST) AS ID
FROM international
ORDER BY LAST, FIRST;
-------------------------------------------------------------------------

Previous Message


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages asp search engine active server page asp application components tutorial CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com