Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2006
    Posts
    13

    Question Unanswered: how do run dbcc usedextents

    Hi
    I need to run the following scipt from a stand alone java code.
    is the scipt run as any normal sql query.

    dbcc traceon(3604)
    go
    dbcc usedextents(master,0,1,1)
    go

    I am quite new to sybase.

    thanks in advance
    Subramanyam

  2. #2
    Join Date
    Jan 2003
    Location
    Geneva, Switzerland
    Posts
    353
    The data from DBCC commands is returned as a server message, not as a result set. I'm not really a java developper but I think there is a way to register a handler for such messages (just like error messages from the server, or PRINT statements).

    Michael

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •