Search Results

Search: Posts Made By: rethink
Forum: UNIX and Linux Applications 07-25-2010
22,475
Posted By pludi
I've tried it. If you want to pass in a VARCHAR,...
I've tried it. If you want to pass in a VARCHAR, you'll have to quote it, egCALL createtable("accounts");
Forum: UNIX and Linux Applications 07-24-2010
22,475
Posted By pludi
OK, I've read up on Stored Procedures...
OK, I've read up on Stored Procedures (http://dev.mysql.com/tech-resources/articles/mysql-storedproc.html). Seems you can only use DDL statements if you CONCAT them into a variable, and then use that...
Forum: UNIX and Linux Applications 07-24-2010
22,475
Posted By pludi
Moved by request. Also, I'm not 100% sure,...
Moved by request.

Also, I'm not 100% sure, but I think you have to define the tname parameter explicitly, eg:CREATE PROCEDURE createtable(IN tname varchar(20))
BEGIN
DROP TABLE IF EXISTS tname;...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 02:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy