MySQL Forums
Forum List  »  Serbian/Croatian/Bosnian

Re: Procedura
Posted by: goran vojvodic
Date: October 02, 2008 02:56AM

Evo kako,
ovo kod mene radi....



DELIMITER $$

CREATE PROCEDURE `testtrazi`(IN cNaziv VARCHAR(45))
BEGIN
DECLARE cTrazi VARCHAR(45);

SET cTrazi = CONCAT('%', cNaziv, '%');

SELECT * FROM robausluge WHERE naziv LIKE CONVERT(cTrazi USING cp1250) COLLATE cp1250_croatian_ci;

Options: ReplyQuote


Subject
Views
Written By
Posted
11321
April 02, 2008 01:02AM
6138
April 09, 2008 02:09AM
5352
September 01, 2008 06:23AM
Re: Procedura
5742
October 02, 2008 02:56AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.