If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > Problem SQL select statement

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-26-02, 14:32
neerajaj neerajaj is offline
Junior Member
 
Join Date: Aug 2002
Posts: 1
Problem SQL select statement

Hi,

I have a table called "company" which has 12000 rows. I executed a SQL select statement from the Query Analyzer to display the table.

select * from company.

Its displaying all the rows in the table. But the Query is not getting completed. It still shows the RED mark and "Executing Query Batch".
When I use this SQL query from my application. My application hangs.
Can anybody help me in this.
Its very urgent.
Regards
Neeraja
__________________
Neeraja
Reply With Quote
  #2 (permalink)  
Old 08-26-02, 21:48
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Which version of sql server are you using ? Do you have any indexes on the table ?
Reply With Quote
  #3 (permalink)  
Old 09-10-02, 11:10
Sef Sef is offline
Registered User
 
Join Date: Aug 2002
Location: Kampala, Uganda - East Africa
Posts: 13
SET PAGESIZE 13000
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On