I have a query to run against a db with millions and millions of entries. I'd like to test the query before running it against the entire db.
Is there a way to run the query against only the first 1000 entries? 5000 entries? X entries?
In other words, if my query is 'select * from header', can I reword it to 'select * from header obs = 1000' or something like that?
Please help this SQL newbie...thanks
Is there a way to run the query against only the first 1000 entries? 5000 entries? X entries?
In other words, if my query is 'select * from header', can I reword it to 'select * from header obs = 1000' or something like that?
Please help this SQL newbie...thanks