Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2001-07-30 : 14:53:15
|
| I have a table with 5 fields, 1155 rows.fieldsnumeric 11,0numeric 11,0varchar(20) nullvarchar(30) nullvarchar(80) nullselect 1 from tbl works okselect 1 from tbl group by any of the numeric fieldsworks okselect 1 from tbl group by any of the varchar fields**** fails to generate query plan (hangs)update statistics - no effectdbcc checkdb - no errorsselect * into nr from tbl where 1 = 0hangs (but will generate estimated query plan)create table hangscreate procedure is okNo open transactionsnothing in error logObviously something wrong with database but I would like to find out what tonight.I will recreate the database before tonights production run so doesn't affect that.The database tables and SPs are transferred every night via sql dmo.==========================================Cursors are useful if you don't know sql.Edited by - nr on 07/30/2001 15:17:59 |
|
|
|
|
|