Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Article Discussions
»
Article Discussions by Author
»
Discuss Content Posted by Simon Sabin
»
Function and SP to find if file/directory...
Function and SP to find if file/directory exists
Rate Topic
Display Mode
Topic Options
Author
Message
Simon Sabin
Simon Sabin
Posted Saturday, October 13, 2007 9:17 PM
Mr or Mrs. 500
Group: General Forum Members
Last Login: Wednesday, February 20, 2013 3:18 AM
Points: 573,
Visits: 95
Comments posted to this topic are about the item
Function and SP to find if file/directory exists
Simon Sabin
SQL Server MVP
http://sqlblogcasts.com/blogs/simons
Post #410503
jeetv
jeetv
Posted Wednesday, July 07, 2010 9:36 AM
Forum Newbie
Group: General Forum Members
Last Login: Wednesday, October 10, 2012 4:18 PM
Points: 1,
Visits: 13
Hi Simon,
I tried using this nice code in SQL Server 2005 but it fails with the message "Only functions and extended stored procedures can be executed from within a function".
I was wondering how this could be updated to run in SQL Server 2005...I am not a DBA myself
Thanks!
Post #948633
Andy DBA
Andy DBA
Posted Wednesday, October 27, 2010 4:55 PM
SSC-Enthusiastic
Group: General Forum Members
Last Login: 2 days ago @ 8:16 AM
Points: 137,
Visits: 441
jeetv (7/7/2010)
Hi Simon,
I tried using this nice code in SQL Server 2005 but it fails with the message "Only functions and extended stored procedures can be executed from within a function".
Same question: Is there a way to check file existence from a function? I have a table containing filenames and wish to perform a set based query to list missing files.
I really hope I don't have to resort to using a cursor loop for this!
Thanks in advance.
Post #1011947
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.