Solved

how to declare functions at server level

Posted on 2009-04-04
10
209 Views
Last Modified: 2012-05-06
Is there any procedure or table called dbo.fn_strt date and dbo_fn_enddate where we can update the input parameters at server level?
0
Comment
Question by:parpaa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 2
10 Comments
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 24069132
No.
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 24069182
I agree.
usually, you would declare them in the master database...
0
 

Author Comment

by:parpaa
ID: 24069190
where exactly?? is that in table or a procedure??can it be database specific or only server specific??
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 24069207
I think there is some room for misunderstanding ...

can you please clarify if you
* have those functions, and don't know if they do exist on all sql servers by default
* don't have those functions, and want to know how to get them
* want to have those functions available in your sql servers, in all databases available
* something else.
0
 

Author Comment

by:parpaa
ID: 24069246
This is the request i got...

update dbo.fn_startdate(@a, @b, @c) and dbo.fn_enddate(@a, @b, @d) to include parameters to provide begin and end dates for:
1. Parameter X
2.Parameter Y
3.Parameter Z

0
 

Author Comment

by:parpaa
ID: 24069248
As i am not sure about, so asking for help where to update it..
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 24069299
I am afraid I have no idea what it is you are asking.
0
 

Author Comment

by:parpaa
ID: 24069330
I have those functions in my server and i dont know where they are to update it.. hope i am clear this time..
0
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 250 total points
ID: 24069334
they must be on the database level... in sql 2005 sql server management studio:
programmatibility -> stored functions
0
 

Author Closing Comment

by:parpaa
ID: 31566632
Thanks.. got it..
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Mark Wills PIVOT is a great facility and solves many an EAV (Entity - Attribute - Value) type transformation where we need the information held as data within a column to become columns in their own right. Now, in some cases that is relatively…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.

710 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