By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,364 Members | 1,343 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,364 IT Pros & Developers. It's quick & easy.

Improving Select Query

P: 9
Hi I am using Select query but it is taking time to retrive data I am using ODBC connection can n e one tell me how can I Improve this query performance query as given below there are 30 field and thousands of records in the table I have to select only two

select col1, col2 from TableName
Apr 2 '08 #1
Share this Question
Share on Google+
5 Replies


ck9663
Expert 2.5K+
P: 2,878
Hi I am using Select query but it is taking time to retrive data I am using ODBC connection can n e one tell me how can I Improve this query performance query as given below there are 30 field and thousands of records in the table I have to select only two

select col1, col2 from TableName
Why are you using ODBC? What's the front-end apps?

-- CK
Apr 2 '08 #2

P: 9
Why are you using ODBC? What's the front-end apps?

-- CK
Thanks for u r Reply ..


I am using vb.net window application, and its my project need that I use ODBC connecttion....
Apr 2 '08 #3

ck9663
Expert 2.5K+
P: 2,878
That's the catch...It's slow. Try looking at possible DSN-Less way of connecting to your DB

-- CK
Apr 2 '08 #4

P: 9
That's the catch...It's slow. Try looking at possible DSN-Less way of connecting to your DB

-- CK
u mean it is not possible to improve that query peformance with current situation..... by using ODBC connection
Apr 3 '08 #5

ck9663
Expert 2.5K+
P: 2,878
Create index. Just select the fields you need. What kind of apps are you trying to use this connection for?

-- CK
Apr 3 '08 #6

Post your reply

Sign in to post your reply or Sign up for a free account.