Database
vbsql.txt
Associated article: VBScript and SQL Calendars
Tags: Database Web Development .NET
Published source code accompanying the article by John Donovan Lambert in which he presents the VBScripts he uses for in putting SQL results into a web calendar, and discusses how you can port these scripts to Java, Perl, Cold Fusion, or whatever language you prefer. Also see VBSQL.ZIP.
VBScript and SQL Calendars
by John Donovan Lambert
Example 1:
Month DayOfMonth WkDay UnitsSold
11 27 6 869
11 28 7 344
11 29 1 238
11 30 2 618
12 1 3 589
Example 2:
(a)
<% set rs1=conn.Execute("SELECT DATEPART(mm, RecDate) AS Month, "&_
"DATEPART(dd, RecDate) AS DayOfMonth, DATEPART(dw, "&_
"...


