Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8507

Re: Sybase IQ 16 Backup and Restore (interactive sql)

$
0
0

The TRUNCATE command removes all data from a table.  No different than "delete from XXX".  What were you expecting to happen?  Depending on how you connect to IQ, you may need to issue a COMMIT once the TRUNCATE is done.

 

When IQ starts, by default it broadcasts its server and database name to the network.  To prevent this add this '-sb 0' to your cfg file.  This tells IQ not to broadcast its information on the network for auto discovery.  That broadcast requires that the server be unique not the network.

 

Certainly, when you restore you want to make absolutely sure that the catalog and tran log files do not exist in directory that you are restoring to.

 

The only reason to change the database name during restore is so that you can distinguish between the original and new systems.  If the original is going away, then there's no need to do the rename.

 

Mark


Viewing all articles
Browse latest Browse all 8507

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>