Solved

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

Posted on 2012-04-09
2
311 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 500 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Foreword This is an old article.  Instead of using the MySQL extension that was used in the original code examples, please choose one of the currently supported database extensions instead.  More information is available here: MySQLi / PDO (http://…
I have been using r1soft Continuous Data Protection (http://www.r1soft.com/linux-cdp/) for many years now with the mySQL Addon and wanted to share a trick I have used several times. For those of us that don't have the luxury of using all transact…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

820 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