By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,961 Members | 1,320 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,961 IT Pros & Developers. It's quick & easy.

Function To Return Insert Statements In Postgres

P: 1
Hi,
I Have A Query Which Displyas All My User Table Names And Data Type.
Now I Need A Function Which Will Read All The Table Name And Return A Insert Statement With Table Names.

Pl's Suggest Some Solution. Req. Urgently
Aug 8 '07 #1
Share this Question
Share on Google+
2 Replies


Expert 100+
P: 534
Moving from PostgreSQL Articles to PostgreSQL Forum.
Please be careful as to where you place your future postings.
Aug 10 '07 #2

Expert 100+
P: 534
Hi,
I Have A Query Which Displyas All My User Table Names And Data Type.
Now I Need A Function Which Will Read All The Table Name And Return A Insert Statement With Table Names.
Pl's Suggest Some Solution. Req. Urgently
Is this a class assignment?
In any case, let's look at the query that you already have; we should be able to use it as a basis for building dynamic sql.
Aug 12 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.