G
Guest
I have a VB.Net application that reads from a SQL database (SQL Server 7.0).
How do I get the top 50% or bottom 50% of records from a certain table for my
dataset? I keep getting an exception (incorrect syntax) when using Top 50
Percent in my SQL statement (sSQL = "SELECT TOP 50 PERCENT tblInventory.*
FROM tblInventory "). Does vb.net not recognize this statement?
TIA for any help.
(e-mail address removed)
How do I get the top 50% or bottom 50% of records from a certain table for my
dataset? I keep getting an exception (incorrect syntax) when using Top 50
Percent in my SQL statement (sSQL = "SELECT TOP 50 PERCENT tblInventory.*
FROM tblInventory "). Does vb.net not recognize this statement?
TIA for any help.
(e-mail address removed)