0

I need to format my SELECT queries on a text column. How may I do it without expliciting inserting it together with the query?

Do i use a rule in this case? I have tried creating a rule on the tables' column but apparently it won't work.

create or replace rule t_format AS ON SELECT TO site_ss_last_entry2
    DO INSTEAD
        select internet_date(site_ss.last_entry2) from site_ss;  

1 Answer 1

2

Just create a VIEW and SELECT from this VIEW to get what you're looking for.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.