RE: Selecting different records from a same column
Still not sure what you want to accomplish. If the idea is to fetch the two indexvalues from the database in a single statement, consider writing a stored procedure. You would pass in the necessary variables and get the two indexes back. CREATE PROCEDURE up_fetchindexvalues @month0 int, @year0 int, @month1 int, @year1 int, @index varchar(10), […]
2003-06-12