Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have a PostgreSQL 9.x database and user connect it via psql command. I need a add permission to \d, \dp commands. How to do it?
The \d and \dp commands simply issue SQL queries in the background. I think the only way to "add permissions" to those psql commands is to change the permissions on the underlying system tables.
To find out which statements are sent, you can start psql with the -E option. Then all meta data statements are shown on the console.
If the user have the privilege of connecting the database and selecting the table , than \d,\dp commond will be permited by using the psql tool
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I installed Oracle SQL developer on my personal computer.
I want to create my own tables in it and work on them.
But, when I try to make the basic connection, it gives an error below
i want to practice but on sql developer but there is no connection what to do help needed
You have SQL Developer, but you probably don't have a database. You have a few options of how to proceed next.
Create your own database - after you download and install Oracle Database or Oracle XE.
Find someone else's database you can use.
Download a virtual image you can start that's already setup for Oracle Database.
We have a free VirtualBox appliance you can download and run in less than an hour. You can read about that here.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I would like to restore a backup to a different database than the original.
I did backup for databaseA, but want to restore to databaseB. I want to test first and get the data from the backup, then just take the data I need to update databaseA.
How to do this?
Yes you can.
In the GUI
Your source Database is "DatabaseA"
Your destination database if "DatabaseB"
On the Files tab, you'll need to provide new file names.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
New to SQL Server and not very well-versed in how things run with it. Can anyone point me to what exactly this error means? http://imgur.com/cVRT9
It happens when I try to select a database name when importing data.
This error is occuring because you can't connect to the instance. Check your connection string and ensure that your parameters are correct:
Data Source=myServerAddress\NamedInstance;Initial Catalog=myDataBase;User Id=myUsername;Password=myPassword;
Use your connection string parameters to manually connect to the instance through SSMS. That'll give you a good indication that it is right/wrong.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I wanted to ask can the database be restored to an earlier stage.
Somebody logged into my system and run a delete command.
Can this be restored?
Yes, it can. Reload the database from a backup.
Yes, you can (if you are running in Full Mode) just reload information from the Transaction Log.
How to: Restore a Transaction Log Backup
You might find this link also of some help:
How to: Restore to a Point in Time
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I am trying to automate connecting to UNIX using PuTTY and sending commands. My team use this to execute a series of processes that can get really repetitive.
I have already accomplished this using autoit v3, however I can only send commands to the putty window but not read anything from it, which doesn´t allow me to change the flow of the script based on command responses and to know exactly when a specific command executed (currently using Sleep())
Check out Plink on this page: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
You can use Run, StdoutRead and StdinWrite to write input and read output.