TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
David Smith
NA
2k
0
MySql WorkBench Syntax
Feb 11 2012 2:00 AM
Can someone tell me what i am doing wrong below, I working in MySql workbench environment, this is killing me. My where clause is wrong, in Sql Server 2008 this would be right.
CREATE PROCEDURE `colordatabase`.`prc_GetTestInfoBycolorSerialNumber`
(
IN colorSerialNumber VARCHAR (50)
)
BEGIN
SELECT
table1.colorSerialNumber,
table1.colorPartNumber,
table1.comments,
table2.ID,
table2.colorName,
table2.colorCreationStartTime ,
table2.colorOperator
FROM table1 INNER JOIN
table2 ON seeker.colorPartNumber = table2.color_PartNumber AND
table1.colorSerialNumber = table2.color_SerialNumber
WHERE (table1.SerialNumber Like '' + @colorSerialNumber + '%');
END
Reply
Answers (
1
)
Mobile Application Support In .NET
Database performace help