Re: [GENERAL] Variables in SQL scripts

2010-06-10 Thread Tim Landscheidt
"Machiel Richards" wrote: > [...] > I did some googling as well and found something I tested using > a simple method: > - I created an sql script to set the variable Name DB > o \set DB > o \c :DB > - I connected to postgresql using the postgres database a

[GENERAL] Variables in SQL scripts

2010-06-10 Thread Machiel Richards
Good day all I have posted a query on the Postgresql novice mailing list, however I think it might be more suitable here. Please see my request and information below: I am looking for some more suggestions here on ways to use variables in sql scr