SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 server issue
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

goria
Starting Member

India
1 Posts

Posted - 11/10/2012 :  12:13:23  Show Profile  Reply with Quote
i am uploading an application on server using cpanel.
but the problem i am getting is as i am using Mysql 5.6
but on cpanel the version is 5.1.
like i am using procedure as

create procedure usp_select_data(in c1 int,in c2 int)
begin
select * from candidate
limit c1 offset c2
end

its not working..
but if i do as
create procedure usp_select_data(in c1 int,in c2 int)


begin
select * from candidate
limit 6 offset 2
end

the error i am getting is #1064

is this version issue or any other problaem??
what should i do??

tkizer
Almighty SQL Goddess

USA
37133 Posts

Posted - 11/10/2012 :  12:17:35  Show Profile  Visit tkizer's Homepage  Reply with Quote
You've posted your question on a Microsoft SQL Server site. You should post your question on a site that deals with MySql instead.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000