Website Upgrade Incoming - we're working on a new look (and speed!) standby while we deliver the project

Tips on using this forum..

(1) Explain your problem, don't simply post "This isn't working". What were you doing when you faced the problem? What have you tried to resolve - did you look for a solution using "Search" ? Has it happened just once or several times?

(2) It's also good to get feedback when a solution is found, return to the original post to explain how it was resolved so that more people can also use the results.

POBS, can I delete all records?

4 replies [Last post]
Dieter Wambach
User offline. Last seen 8 years 9 weeks ago. Offline
Joined: 15 Jan 2007
Posts: 1350

Hi to all

over the years the POBS table became huge and every record is included in XER.

To improve at the roots: Is it possible to delete all records from that table maybe apart from on record?

Kind regards from Berlin, Germany and thank you for your support

Dieter

Replies

Zoltan Palffy
User offline. Last seen 2 days 2 hours ago. Offline
Joined: 13 Jul 2009
Posts: 3091
Groups: None

you want to delete it

 How to Purge a database of POBS tables

1. Go to start programs Microsoft SQL Servere 2005, SLQ Server Mnagement Express Studio

2. Connet to Sql Server

login is SA

password is Prima123Vera

3. Highlight and expand the database locally the default is PMDB

4. Select New Query

5. When the New Query is present type this into the query

delete from pobs;

6. Next right click and select Execute

7. After the script executes a message window will appear at the bottm and tell you how many rows  it has cleaned. 

8. Click the upper right to exit the database. A message will appear asking to Save changes to the following items ? Select NO.

Now the database has been cleaned. Use the link to get the xer purge utility to purge the POBS table from ALL xer files prior to impoting them into the database.

Dieter Wambach
User offline. Last seen 8 years 9 weeks ago. Offline
Joined: 15 Jan 2007
Posts: 1350

Sorry double entry

Dieter Wambach
User offline. Last seen 8 years 9 weeks ago. Offline
Joined: 15 Jan 2007
Posts: 1350

Thank you Zoltan

Thank you very much for your reply.

Does it mean to delete the table or to empty it.

Regards

Dieter

Zoltan Palffy
User offline. Last seen 2 days 2 hours ago. Offline
Joined: 13 Jul 2009
Posts: 3091
Groups: None

yes you can delete the POBS table you need to delete it from your database as well as celaning ALL xer's before importing them if you do not remove them from your database then every time that you give soemone an xer it will have a POBS table in it 

to clean the POBS table from your database do this 

you will have to use microsoft sql and execute this scrpit

delete from POBS;

to clean any pobs table download this free program and run it ion all xers prior to importing them 

http://scheduleanalyzer.com/PurgePOBS.exe