Permanently delete resource

J

James

Hi,

Can anyone supply a SQL script to permanently delete a resource in a Project
Server 2003 database?

I have got the PSCleaner utility from the M$ website, but there are so many
resources in my clients' database (6000+) that it crashes when I try to
delete them.

Any suggestions?

James
 
R

Rolly Perreaux

Hi,

Can anyone supply a SQL script to permanently delete a resource in a Project
Server 2003 database?

I have got the PSCleaner utility from the M$ website, but there are so many
resources in my clients' database (6000+) that it crashes when I try to
delete them.

Any suggestions?

James


Hi James,

I don't have a SQL script to delete your resources, but I'd like to
point out to you or anyone else that you will lose you support from
Microsoft PSS if you (for lack of a better word) hack into the database
directly.

BTW, this is for ANY Microsoft enterprise product that uses a SQL
database back-end. Products like:

Microsoft Operations Manager
Microsoft SMS
Microsoft Project Server
Windows SharePoint Services
Microsoft SharePoint Portal Server
Etc.

Also are you trying to delete 6,000 resources at one time?
If so, try deleting less at-one-time.

I know that it sucks, but trust me it's better than your client losing
their MS Support. Plus we won't even discuss the problems (havoc) that
deleting your resources directly from the Project Server database will
cause.

Good Luck


--
Rolly Perreaux
Project Server Trainer/Consultant

IT Summit Series
Advanced Microsoft Technology Training
http://www.itsummitseries.com
 
B

Brian K - Project MVP

Rolly said:
I don't have a SQL script to delete your resources, but I'd like to
point out to you or anyone else that you will lose you support from
Microsoft PSS if you (for lack of a better word) hack into the database
directly.

BTW, this is for ANY Microsoft enterprise product that uses a SQL
database back-end. Products like:

Microsoft Operations Manager
Microsoft SMS
Microsoft Project Server
Windows SharePoint Services
Microsoft SharePoint Portal Server
Etc.

Also are you trying to delete 6,000 resources at one time?
If so, try deleting less at-one-time.

I know that it sucks, but trust me it's better than your client losing
their MS Support. Plus we won't even discuss the problems (havoc) that
deleting your resources directly from the Project Server database will
cause.

This is not 100% accurate. I have spoken with PSS about this and it would
depend completely on what you did in the database. It is not a blanket "if
you edited the database you are unsupported". They would have to look at
what you changed and if what you changed can be fixed if it was a problem.

In many cases editing the database is not only supported but suggested.
Extending the OLAP cube is a perfect example. PDS extentions are
encouraged by MS and they almost always directly edit the database. The
integrations with SAP and Peoplesoft that have been written by several
partners all make direct edits to the database.

So while it is possible that you could make changes to the database that
could cause MS to not support you in certain ways it is not correct to say
that any edit could cause you to stop supporting you. Also, an edit that
might cause MS to stop supporting you in certain areas of the product
would not necesarily stop them from supporting you with other parts of the
product.
 
R

Rolly Perreaux

This is not 100% accurate. I have spoken with PSS about this and it would
depend completely on what you did in the database. It is not a blanket "if
you edited the database you are unsupported". They would have to look at
what you changed and if what you changed can be fixed if it was a problem.

In many cases editing the database is not only supported but suggested.
Extending the OLAP cube is a perfect example. PDS extentions are
encouraged by MS and they almost always directly edit the database. The
integrations with SAP and Peoplesoft that have been written by several
partners all make direct edits to the database.

So while it is possible that you could make changes to the database that
could cause MS to not support you in certain ways it is not correct to say
that any edit could cause you to stop supporting you. Also, an edit that
might cause MS to stop supporting you in certain areas of the product
would not necesarily stop them from supporting you with other parts of the
product.
Hang on a sec Brian

When you say, "...editing the database is not only supported but
suggested", that not entirely true.

Your examples of extending the OLAP cube, PDS extensions and the
integrations with SAP and Peoplesoft is not the same thing that James is
trying to do.

Extending the OLAP cube is fully supported by Microsoft
http://www.microsoft.com/downloads/details.aspx?FamilyId=CEED7E60-C83F-
4B1D-980F-8298C0911E1E&displaylang=en OR http://tinyurl.com/ayn3n

PDS Extensions...Fully supported
http://www.microsoft.com/downloads/details.aspx?FamilyId=3C09FCB9-A9DC-
424B-8158-645278DBA124&displaylang=en OR http://tinyurl.com/7vozc

SAP Connector...Fully supported
http://www.microsoft.com/downloads/details.aspx?FamilyID=7E0EB648-9EEF-
4D53-88A8-3D7E6B9152E9&displaylang=en OR http://tinyurl.com/av793

Any Microsoft Partner that writes code for a Project Server addition
follows the Project 2003 Software Development Kit (SDK). That is if they
want their solution to be Microsoft Certified.
http://www.microsoft.com/downloads/details.aspx?familyid=4D2ABC8C-8BCA-
4DB9-8753-178C0D3099C5&displaylang=en OR http://tinyurl.com/bo6ro

Anyway...
The point that I'm trying to make is there is a BIG difference between
using Microsoft supported code or a Partner writing code for an
certified application that may add/change/delete the project database
AND
Writing a home-grown SQL script to add/change/delete the project
database. A Very Big Difference!!

I've had first hand experience with a client that hacked the SQL
database and trust me on this Brian, this will void your support
warranty with Microsoft.


--
Rolly Perreaux
Project Server Trainer/Consultant

IT Summit Series
Advanced Microsoft Technology Training
http://www.itsummitseries.com
 
B

Brian K - Project MVP

Rolly said:
Hang on a sec Brian

When you say, "...editing the database is not only supported but
suggested", that not entirely true.

Your examples of extending the OLAP cube, PDS extensions and the
integrations with SAP and Peoplesoft is not the same thing that James is
trying to do.

Extending the OLAP cube is fully supported by Microsoft
http://www.microsoft.com/downloads/details.aspx?FamilyId=CEED7E60-C83F-
4B1D-980F-8298C0911E1E&displaylang=en OR http://tinyurl.com/ayn3n

PDS Extensions...Fully supported
http://www.microsoft.com/downloads/details.aspx?FamilyId=3C09FCB9-A9DC-
424B-8158-645278DBA124&displaylang=en OR http://tinyurl.com/7vozc

SAP Connector...Fully supported
http://www.microsoft.com/downloads/details.aspx?FamilyID=7E0EB648-9EEF-
4D53-88A8-3D7E6B9152E9&displaylang=en OR http://tinyurl.com/av793

Any Microsoft Partner that writes code for a Project Server addition
follows the Project 2003 Software Development Kit (SDK). That is if they
want their solution to be Microsoft Certified.
http://www.microsoft.com/downloads/details.aspx?familyid=4D2ABC8C-8BCA-
4DB9-8753-178C0D3099C5&displaylang=en OR http://tinyurl.com/bo6ro

Anyway...
The point that I'm trying to make is there is a BIG difference between
using Microsoft supported code or a Partner writing code for an
certified application that may add/change/delete the project database
AND
Writing a home-grown SQL script to add/change/delete the project
database. A Very Big Difference!!

I've had first hand experience with a client that hacked the SQL
database and trust me on this Brian, this will void your support
warranty with Microsoft.

From a supportability standpoint there is actually no difference between a
TSQL statement I write myself and a Partner written Windows Certified
application that makes edits to the db. Actually, in the case of a simple
SQL statement I used to try something they will talk to me and help me out
but if it is an SP or a third party app (even one written by a partner and
certified) they will still tell you to go talk to the people that wrote
that. PSS does not support third party apps. This includes ANY
modification to the OLAP extender\SAP solution starter code from MSDN. If
you do not edit any of the code they will support that but as soon as you
start editing code you start to venture out into nomans land.

What Im trying to say is that not every modification to the database will
void your support with MS. There are some that might stop them from being
able to support certain aspects of the product and there are obviously
changes that can be made that can cause them to stop supporting you
completely from what your customer says. Was this customer working with
the Project Server database or another product.

I just spoke with one of the leads in PSS for Project\Project Server and
they said that not every edit would be a problem.
They gave me permission to share this info with the public groups:

"We do not support modifying the database structure outside of the SDK
samples that we provide (such as the OLAP cube extensions)"

"We do not trouble shoot custom code – we will however assist with VBA
syntax if the customer can narrow down the problem area to 15 lines of
code."

"We do not recommend that a user go into the backend database and modify
data – however we will try to help the customer recover on a best effort
basis. "

"We do not support troubleshooting database issues when custom code has
made the modifications. We do recommend that customer use PDS methods to
write to the database. "
___

I just want to make sure that this is clear to everyone that just
modifying data in the database will not automatically void any warrenties
or sever any contracts with PSS. It may cause them to say that they cannot
help you with a specific problem caused by that editing but they will
still support you on other issues with that product and in some cases they
may be able to help you with your problem. It would depend on what kind of
edit you made and to what tables\fields.
 
R

Rolly Perreaux

I just want to make sure that this is clear to everyone that just
modifying data in the database will not automatically void any warrenties
or sever any contracts with PSS. It may cause them to say that they cannot
help you with a specific problem caused by that editing but they will
still support you on other issues with that product and in some cases they
may be able to help you with your problem. It would depend on what kind of
edit you made and to what tables\fields.

So the million dollar question is...

Would you take the risk of directly modifying the project server
database without a clear definition of what is and what is not supported
by PSS when they essentially say "It Depends"?

Not me

--
Rolly Perreaux
Project Server Trainer/Consultant

IT Summit Series
Advanced Microsoft Technology Training
http://www.itsummitseries.com
 
B

Brian K - Project MVP

Rolly said:
So the million dollar question is...

Would you take the risk of directly modifying the project server
database without a clear definition of what is and what is not supported
by PSS when they essentially say "It Depends"?

Not me

That is up to each individual but I wanted to make it clear that just
editing the database is not an automatic stopping of support and that it
does not mean that they stop completely supporting you even if they
determine that the edit you made it not supported. The only thing they
will stop supporting is issues arising from the edit.

There are dozens of not hundreds of third party addins that made edits to
the project server database that are being used by thousands of users. PSS
still supports those users. They will just not support problems that come
up from the results of those third party edits.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top