Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL or Linking Tables ???

Status
Not open for further replies.

mathew001

Programmer
Jun 28, 2002
25
US
If I have a table with 2 million rows and I just need values from 2 of columns, (of course based on some criteria) is there advantage of using a SQL query instead of Visual Linking Expert ?
 
If you only have one table there is no need for the visual linking expert. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Hi Ken - How are you !
Should I use a query or read directly from table ?
 
Just read from the table and select only the rows that you need, and make sure that you're able to pass the where criteria of the SQL through to the database (use Database->Show Sql Query to determine what's being passed).

-k kai@informeddatadecisions.com
 
OK. I was wondering if there would be any perfomance
difference sql query over directly reading from table.

 
Probably not much difference but every environment is different. Why don't you try it both ways and tell us what you find? Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
I shall try. This table is very big > 2 million rows !
Thanks Ken and synapsevampire !

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top