Dec 7, 2005 #1 F430 Programmer Dec 6, 2005 8 GB Hello, How can i only display 4 rows from a returned recordset? Im using ASP and MS SQL Server. Would it be easier to create a query in the DB or just do it in ASP, i would rather have it in ASP tho! Thanks
Hello, How can i only display 4 rows from a returned recordset? Im using ASP and MS SQL Server. Would it be easier to create a query in the DB or just do it in ASP, i would rather have it in ASP tho! Thanks
Dec 7, 2005 1 #2 DotNetGnat Programmer Mar 10, 2005 5,548 IN it is very easy to do at the sql level...just use... SELECT TOP 4 * from mytable... -DNG Upvote 0 Downvote
Dec 7, 2005 Thread starter #3 F430 Programmer Dec 6, 2005 8 GB Is that in the ASP SQL statement or in the DB query Upvote 0 Downvote
Dec 7, 2005 #4 DotNetGnat Programmer Mar 10, 2005 5,548 IN ASP SQL Statement... -DNG Upvote 0 Downvote
Dec 7, 2005 #5 damber Programmer Feb 18, 2001 1,002 GB What's the matter with your previous thread on exactly the same question ????? thread333-1161328 A smile is worth a thousand kind words. So smile, it's easy! Upvote 0 Downvote
What's the matter with your previous thread on exactly the same question ????? thread333-1161328 A smile is worth a thousand kind words. So smile, it's easy!
Dec 7, 2005 #6 onpnt Programmer Dec 11, 2001 7,778 US ASP SQL Statement Click to expand... that's a interesting new technology I haven't heard of yet ;-) Upvote 0 Downvote
Dec 8, 2005 #7 DotNetGnat Programmer Mar 10, 2005 5,548 IN i thought the original poster was referring to the SQL query on the ASP page...so didnt wanted to confuse him and swayed with his jargon -DNG Upvote 0 Downvote
i thought the original poster was referring to the SQL query on the ASP page...so didnt wanted to confuse him and swayed with his jargon -DNG