Solved

.PRC

Posted on 2006-11-02
6
1,503 Views
Last Modified: 2008-02-07
I only know .sql, how do you create a .PRC for a stored proc?  We're moving our stored procs to VSS and I don't see how my collegues got the .PRC files created or even moved to VSS.
0
Comment
Question by:dba123
  • 3
  • 2
6 Comments
 
LVL 9

Expert Comment

by:gpompe
Comment Utility
They probably just renamed the file to PRC
0
 
LVL 18

Expert Comment

by:ShogunWade
Comment Utility
it is better to save files as .sql  than .prc   .prc means you need to fiddle with file tpye associations to open them easily.

simply script up the procedures and save them.
0
 
LVL 9

Expert Comment

by:gpompe
Comment Utility
With Visual Studio you can integrate VSS to manage the code. I am not sure but maybe is Visual Studio who generate the PRC.

But is always a plain text file you can call in the way you want.
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 9

Accepted Solution

by:
gpompe earned 500 total points
Comment Utility
When you use a DTS with a Copy SQL Server Objects Task, this will generate a PRC for the procedures, a TAB file and so on.

This task place the file in the "Script file directory" you setup in the task.
0
 
LVL 1

Author Comment

by:dba123
Comment Utility
Ok, I got it.  My boss has a new process for us to upload stored procs, etc. to VSS 2005.  I didn't get where .prc came from because he's using Enterprise Manager 2000 and I'm using Management Studio 2005. I didn't want to bug him but learned that 2005 doesn't have an option any longer to save procs as .prc...and I've always saved ANY script as a .sql.

thus the confusion!!
0
 
LVL 1

Author Comment

by:dba123
Comment Utility
We are already integrated with VS and VSS, this was the DB side of things for our stored procs.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now