AutoHotkey Community

It is currently May 27th, 2012, 10:39 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: January 3rd, 2008, 3:18 pm 
I am inside a PostgreSQL database through the command line interface. Now I want to run a query. Retrieve some info!

I have tried:
Code:
DATABASENAME=# SELECT columnname FROM tablename


But that does nothing. It seems like I need to press a play button or something. What more do I need to write to get it working?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 3rd, 2008, 3:24 pm 
Another similar thing I need help with is creating a user with restricted rights (preferably no writing rights).

I have tried:
Code:
DATABASENAME=# CREATE USER AHKSQL

but that does nothing!


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 5th, 2008, 12:35 pm 
Problem fixed. I learned I need to add an ; at the end of every line


Report this post
Top
  
Reply with quote  
 Post subject: Nice
PostPosted: October 15th, 2008, 8:25 am 
Look forward to see your work i realy need a good api to insert into ahk scripts :) and read selective database


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google Feedfetcher and 5 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group