Cisco, Dialexia, Zultys, Audiocodes, Huawei, Nuera, Quintum, Sysmaster, Verso, Polycom, Mera Networks, NexTone, Asterisk, Vocaltec, Sansay, 3Com, SNOM, Alepo, Ascent, IVR Technologies, MindCTI, PortaOne, RadCom, Nortel, Clarent, NMS, Vegastream, VoIP PBX, Asterisk IVR, IVR programming, troubleshooting voip
   
 Home Page
 Company at a glance
 Market Consulting
 VOIP for Providers
 VOIP for Enterprises
 Professional Services
 CTI Solutions
 Technical Forum
 Contact Us
 Utilities
 Site Map
 Glossary
 
 
Private Messages
Memberlist
Usergroups
Search
Profile
Register
Log in

Clear all the sybase DB

 
Post new topic   Reply to topic
   www.voip-expert.com Forum Index  ->  VoiceMaster DB recovery, redundancy setup, backup
 Author 
 Message 
 SoTelecom
 


Joined: 30 Aug 2006
Posts: 43

PostPosted: Sun Mar 01, 2009 12:45 pm    Post subject: Clear all the sybase DB Reply with quote

Hi Link
I want to give a congratulation about the excelent job, you are currently doing, with this forum. I think there are a lot of people who need some litle help.

I'd like you can give us the shell promised by you in post :http://www.voip-expert.com/modules/forum/viewtopic.php?t=440&highlight=bcp

I'd like you can send some info, for empty the DB, we want to start with VM, without old data ( account, cdr, logs, etc )
is there nay way to do that ?

Regards

Sotelecom
Back to top
View user's profile Send private message MSN Messenger
 Link
 Site Admin


Joined: 11 Aug 2004
Posts: 378

PostPosted: Tue May 19, 2009 2:57 pm    Post subject: Reply with quote

Thank you SoTelecom ;)
Peoples require some certain functionality from software for their bussines, so my goal is to help with your bussines

to clear DB you have to execure stored procedure sp_clear_db
this won't delete every table, but only all table with work data, and leave system tables untouched (where stored system types, options etc..)

To execute it - you have to login to DB from console for example
isql -Umanager -Ppassword -SIFONE

exec sp_clear_db
go

be sure you do not need any data , they will will be backuped during one day, untill backup will be overwriten

let me know if you have problems with executing this procedure
_________________
Easy must be easy, and difficult - possible!
ask for ensure -yuriy AT voip-experts DOT com
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
 Neo
 


Joined: 19 Aug 2004
Posts: 24

PostPosted: Sat Jun 20, 2009 11:33 am    Post subject: Reply with quote

Hi .
Absolutly right, sp_clear_db was created for older VM version (like 02.00 or even older), it clears only part of tables in new VM version, unexpected results will happen

I have created sp_clear_daabase procedure for 06.00 since I need often to clear DB in my work. msg me , will share
_________________
free your mind
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:    
Post new topic   Reply to topic    www.voip-expert.com Forum Index -> VoiceMaster DB recovery, redundancy setup, backup All times are GMT
Page 1 of 1

 
   Jump to:        
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum