Viewing 7 posts - 76 through 82 (of 82 total)
Maybe I don't understand your response, but if I need at least a NULL for @param2, isn't optional. I'm right?
I have:
create function dbo.MyFn(@param1 varchar(10), @param2 varchar(10) = 'No input') as ...
And...
March 8, 2004 at 11:01 am
Thanks, I'll consider it.
Now I have another problem with this UDF. I'm trying to put an optional parameter inside this UDF, but doesn't seem to be accepted.
I've tryed a similar...
March 8, 2004 at 10:41 am
Arrrghh.
That's ugly. I need the result table to perform joins on local tables.
I think I will duplicate the function on local DB using remote tables. Seems to be more elegant.
Thanks...
March 8, 2004 at 9:47 am
I thought it was easier.
I think I would grant public role in DB "B", I prefer keep it simple.
Thanks
March 5, 2004 at 3:47 pm
Hmmm, I don't understand.
Execution Plan shows:
Estimated Subtree Cost = 3.3 and estimated row count = 10000 for OpenQuery (performs a Remote Scan).
Estimated Subtree Cost = 0.0388 and estimated row count...
March 3, 2004 at 4:08 pm
I know, but correct me if I'm wrong...
I've readed that server.db.user.object usage get ALL data to server, and the local server perform the filter/join/etc.
And using OpenQuery the filtering/join/etc is made...
March 3, 2004 at 3:09 pm
Well, I can say you that I have no problem executing it.
What I can see in your post is that you entered: "@recipient = 'me@mycompany.com'" and must be "@recipients =...
March 2, 2004 at 4:50 pm
Viewing 7 posts - 76 through 82 (of 82 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy