Categorised SQL Listing
Hello All. Wondered if there would be anyone from days of yore still knocking around like ghosts in the machine. If so, someone might be able to help me.
I have a small data list on a SQL server table named techInfo. I am using ASP.NET and MS SQL server 2000 although I think the SQL command string is independant of parent file type? I can do the obvious
[SELECT * FROM techInfo order By techInfoTitle]
Which renders in a Repeat Region
Steam driven Wristwatch
Steam driven Wristwatch manual
Steam driven Wristwatch
Steam driven Wristwatch Tech Data
Steam driven Wristwatch
Steam driven Wristwatch Gauantee Forms
Solar Powered Pogostick
Solar Powered Pogostick manual
Solar Powered Pogostick
Solar Powered Pogostick Tech Data
Solar Powered Pogostick
Solar Powered Pogostick Gauantee Forms
Whereas, what I would like to create is
Steam driven Wristwatch
Steam driven Wristwatch manual
Steam driven Wristwatch Tech Data
Steam driven Wristwatch Gauantee Forms
Solar Powered Pogostick
Solar Powered Pogostick manual
Solar Powered Pogostick Tech Data
Solar Powered Pogostick Gauantee Forms
Where the category only shows the first instance
I have been experimenting along the lines of
[SELECT techInfoTitle FROM techInfo AS Product, techInfoLink
GROUP BY techInfoTitle
ORDER BY By techInfoTitle]
Any pointers would be greatly appreciated. Started By Jockrock on Jul 11, 2009 at 3:14:07 PM |