Skip navigation links

MySQL Forums :: Serbian/Croatian/Bosnian :: Procedura


Advanced Search

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
Procedura 9173 goran vojvodic 04/02/2008 01:02AM
Re: Procedura 4754 goran vojvodic 04/09/2008 02:09AM
Re: Procedura 4382 Dejan Topalovic 09/01/2008 06:23AM
Re: Procedura 4366 goran vojvodic 10/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.