Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

can I have multiple data-types in the parameters of a stored procedure?

Posted on 2012-04-09
2
Medium Priority
?
315 Views
Last Modified: 2012-04-09
is this legal? can I have DATE, INT, and VARCHAR in the params of my procedure?

CREATE PROCEDURE GetDatesInRange(start_date DATE, end_date DATE, eid INT, title VARCHAR)

Open in new window


Thanks.
0
Comment
Question by:Kyle Hamilton
2 Comments
 
LVL 29

Accepted Solution

by:
Paul Jackson earned 2000 total points
ID: 37825770
yes that is legal
0
 
LVL 25

Author Closing Comment

by:Kyle Hamilton
ID: 37825802
thanks.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

916 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