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 > Database Server Software > Sybase > Can read but Can't write, why?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-04-11, 09:24
mengruojun mengruojun is offline
Registered User
 
Join Date: Aug 2011
Posts: 1
Question Can read but Can't write, why?

Hi, I got a strange problem here:

1. I create a database in ASE and it works well for a while.
2. Recently I backup it and transform it to another machine, then restore and online.
3. Now I can execute "select * " for the database.
4. But if I execute "update ..." or "drop ..." on the database(no matter on the old machine or the new machine) in dbisql, it will just be the sql running status, didn't report anything. The table I want to drop has 0 row data, it should be easy to drop but I wait for a long long time , and as a result it is still running "drop" command.


Could anybody tell me the reason?

As a common experience of mine, It may be caused by lock. But I run the "sp_who" or "sp_lock" and don't find any lock on my database.


The database size is just around 4G, most of them are used for transaction log .
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