Question : Classic ASP nesting inside of a loop

I have list of possible travel locations in my db table for vacation packages we offer. I'm using a SELECT DISTINCT (SELECT DISTINCT Category FROM dbo.VacPckg) to weed out duplicate location categories.

My Results as expected:
Asia
Canada
Caribbean
Hawaii
Pacific Northwest
etc....

Here is where I need help. I want add "Europe" into the above results in ABC order but "Europe" is not in the db table. Is it possible to add it inside of a loop/wend? Is there another method I should try?

Preferred Results:
Asia
Canada
Caribbean
EUROPE
Hawaii
Pacific Northwest



1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
<!--#include virtual="/Connections/myConString.asp" -->

<%
Set strObj = Server.CreateObject ("ADODB.Command")
strObj.ActiveConnection = MYl_STRING
SQL = "SELECT DISTINCT Category FROM dbo.VacPckg" 
strObj.Prepared = true
strObj.CommandText =  sql
Set rsCategory = strObj.Execute
rsCategory_numRows = 0
%>

<ul>
<% while not rsCategory.EOF %>

<li><a href="vacpkg.asp?ref=<%=rsCategory(0)%>"><%=rsCategory(0)%></a></li>
<% rsCategory.MoveNext
wend %> 
        
</ul>

<%
rsCategory.Close()
Set rsCategory = Nothing
%>




Answer : Classic ASP nesting inside of a loop

Try this:

1:
2:
3:
SELECT DISTINCT Category FROM dbo.VacPckg
UNION
SELECT 'Europe' AS Catgory
Random Solutions  
 
programming4us programming4us