STEP.2 é¢æ°ãä½æãã¦SQLæãç°¡ç¥ã«ãã ãã®ã¾ã¾ã§ã¯SQLæãæ¸ãã®ãé¢åãªã®ã§ãé¢æ°ãä½æãã¦SQLæãç°¡ç¥ã«ãã¾ãã CREATE OR REPLACE FUNCTION get_nocase_text (text) RETURNS text AS $$ SELECT translate(upper($1) ,'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ ' ,'ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼¡ï¼¢ï¼£ï¼¤ï¼¥ï¼¦ï¼§ï¼¨ï¼©ï¼ªï¼«ï¼¬ï¼ï¼®ï¼¯ï¼°ï¼±ï¼²ï¼³ï¼´ï¼µï¼¶ï¼·ï¼¸ï¼¹ï¼ºã'); $$ LANGUAGE SQL IMMUTABLE; ã¨é¢æ°ãä½æãã¦ããã¨ãSQLæã¯æ¬¡ã®ããã«ãªãã¾ãã SELECT ååcd, ååå FROM t_ååå°å¸³ WHERE get_nocase_text(ååå) LIKE 'Aï¼%'; STEP.3 å¼ã¤ã³ããã¯ã¹ã§é«éã«ãã ç¹å®ã®åã«ã¤ãã¦
{{#tags}}- {{label}}
{{/tags}}