User Profile
Collapse
-
Thanks xpcer.... I changed tht "+" to "||" and the syntax is ok.... I will try with concat also........ -
problem vth converting stored procs from MS SQL2005 to MySQL
hi all,
I am trying to convert the stored procs from sqlserver2005 to mysql... I am facing the problem vth syntax... plz help me...
CREATE PROCEDURE `xxx`
(
SentDate Varchar(50),
MessageText Varchar(500),
flag varchar(10)
)
BEGIN
Insert into SentMessageMast er(SentDateTime ,MessageText,fl ag) values(convert( varchar,SentDat e,103),MessageT ext,flag);
END -
problem vth converting stored procs from MS SQL2005 to MySQL
hi all,
I have some problem converting the stored procs from MS SQL2005 to MySQL. near the "like" keyword........ ..........
CREATE PROCEDURE `xxx`
(
Name varchar(100),
FieldName varchar(10)
)
BEGIN
IF FieldName='Firs tName' then
Set FieldName = 'P01';
ELSE IF FieldName='Last Name' then
set FieldName = 'P02';
END if;
SELECT...
No activity results to display
Show More
Leave a comment: