Solved

how to declare functions at server level

Posted on 2009-04-04
10
215 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
Veeam gives away 10 full conference passes

Veeam is a VMworld 2017 US & Europe Platinum Sponsor. Enter the raffle to get the full conference pass. Pass includes the admission to all general and breakout sessions, VMware Hands-On Labs, Solutions Exchange, exclusive giveaways and the great VMworld Customer Appreciation Part

 
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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

When writing XML code a very difficult part is when we like to remove all the elements or attributes from the XML that have no data. I would like to share a set of recursive MSSQL stored procedures that I have made to remove those elements from …
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

635 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