About 50 results
Open links in new tab
  1. Run PostgreSQL queries from the command line - Stack Overflow

    Jul 17, 2025 · Open "SQL Shell (psql)" from your Applications (Mac). Click enter for the default settings. Enter the password when prompted. *) Type \? for help *) Type \conninfo to see which user you are …

  2. sql - How to change display language in psql shell? - Stack Overflow

    Jan 4, 2020 · How to change display language in psql shell? [duplicate] Asked 6 years, 1 month ago Modified 6 years, 1 month ago Viewed 8k times

  3. Connect to sqlplus in a shell script and run SQL scripts

    Oct 1, 2024 · 42 I have a .sql file, which is a bunch of oracle pl/sql commands and I want to create a shell script to run these commands. Suppose that user/pass@server is my credentials. What will be …

  4. How to run SQL in shell script - Stack Overflow

    How do you run a SQL command in a shell script while setting a variable? I had tried this method and it isn't executing the command, it is thinking the command is just a string. #!/bin/ksh variab...

  5. SQL Shell (psql) Defaulting to Port 5433 Instead of 5432 on Windows

    Dec 23, 2024 · However, when I open the SQL Shell (psql), it defaults to port 5433, as shown in the screenshot below: default value is 5433 Steps I Took to Resolve: Verified the postgresql.conf file …

  6. I forgot the password I entered during PostgreSQL installation

    I either forgot or mistyped (during the installation) the password to the default user of PostgreSQL. I can't seem to be able to run it, and I get the following error: psql: FATAL: password

  7. Connect to SQL Server Database from PowerShell - Stack Overflow

    Sep 5, 2014 · SQL Server Management Studio 2012 isn't a "version of SQL" - it's an application that can connect to and manage SQL Server, and it can connect to any version of SQL Server from 2000 …

  8. Add SQL Shell (psql) (postgres) to Windows Terminal

    Aug 5, 2020 · I'm trying to add a new terminal Postgres shell (psql) to the Windows Terminal. I want to add it to the profiles list in the settings. This is the windows terminal. In the settings file, we can ad...

  9. How to execute a .sql file using PowerShell - Stack Overflow

    I have a .sql file. I am trying to pass connection string details through a PowerShell script and invoke a .sql file. I was searching and came up with a cmdlet related to Invoke-Sqlcmd. While I was

  10. how to reset SQL Server sa password - Stack Overflow

    Jan 25, 2014 · 8 New best way: Use PowerShell. Reset-SqlSaPassword allows administrators to regain access to local or remote SQL Servers by either resetting the sa password, adding sysadmin role to …