>> > Right . > Any how I am facing new problem now. See the error. Any hint ? > > dbcursor.execute( "SELECT id,text FROM %s " ) % indbtname > psycopg2.ProgrammingError: syntax error at or near "%" > LINE 1: SELECT id,text FROM %s
You should construct the query first and then pass the query as argument to execute function. I suggest you to go through basic python tutorial before trying some serious programming. Python Tutorial is best place to start. http://docs.python.org/tutorial/index.html Anand _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers