Forums
This topic is locked
Nested Repeat Region and Performance
Posted 08 Oct 2002 16:42:04
1
has voted
08 Oct 2002 16:42:04 Matthijs Horsman posted:
Hello all,I was wondering, i made an event calendar that displays a month (dynamic). In the calendar loop <font size=2>(For Row = 0 to 5 response.write "<TR>" For Col = 0 to 6 .... Next response.write "</tr>" Next %> </font id=size2> i placed a rs so for every day i can check if there's an event for that day. Works great!
BUT....
how about performance. The recordset needs to be called around 30 times every time the page is displayed. No problem if i test it.
But what if 50 other users try it at the same time ?
And how about addeding another rs in the loop?
Is this a bad thing to do?? Because i don't know how to do it otherwise...
I am using SQL-Server 2000...
Thnx in advance
Matthijs
----------------
DWMX/W-XP-PRO/IIS/ASP-VB
www.chaps.nl
Replies
Replied 09 Oct 2002 03:39:54
09 Oct 2002 03:39:54 Dave Thomas replied:
I should think SQL Server could easily cope with that.
Regards,
Dave
UD4 || Flash || Access ||Web Hosting
Regards,
Dave
UD4 || Flash || Access ||Web Hosting
Replied 09 Oct 2002 10:52:06
09 Oct 2002 10:52:06 Matthijs Horsman replied:
yeah i think so to... takes a little bit longer to load, but wirks fine...
thnx
Matthijs
----------------
DWMX/W-XP-PRO/IIS/ASP-VB
www.chaps.nl
thnx
Matthijs
----------------
DWMX/W-XP-PRO/IIS/ASP-VB
www.chaps.nl