Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 direct file path in procedure

Author  Topic 

Guestuser18
Starting Member

34 Posts

Posted - 2010-04-23 : 11:31:20
Hi

I have a stored proc and I need to specify the file path. However I'm sure there should be a way of doing it shortened, i.e. ../Procedures.

However this does not work.

How can I specify a shortened versin of this?

Thanks

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2010-04-23 : 11:42:05
What do you mean?
A stored procedure is an object in a database and has no file path.
The source of the stored procedure can be stored everywhere...


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-04-23 : 12:47:58
this will give some context

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=143457

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

Guestuser18
Starting Member

34 Posts

Posted - 2010-04-25 : 05:21:22
No, I mean that I have a stored procedure.

In the stored procedure I need to reference a file which is not in the database, hence why I need to specify the file path.

I don't want to put the full path, I would prefer to specify the shortended path i.e. ../filelocation.

Hope this clarifys it a bit more.
Go to Top of Page
   

- Advertisement -