Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Redshift QueryNew to Visual Studio Code? Get it now.
Redshift Query

Redshift Query

asm-adityamorankar

|
1 install
| (0) | Free
Query Amazon Redshift clusters from VS Code with multiple connection support and SQL execution
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Redshift Query - VS Code Extension

Connect and query Amazon Redshift clusters directly from VS Code with multiple connection management and real-time status indicators.

✨ Key Features

  • Multiple Connections: Manage multiple Redshift clusters with visual status indicators
  • Smart Query Execution: Execute entire files or selected SQL with keyboard shortcuts
  • Real-time Status: Green/red indicators show connection health at a glance
  • Database Explorer: Browse schemas, tables, and view table descriptions
  • SQL File Support: Full syntax highlighting and execution for .sql files
  • Export Results: Copy or export query results to CSV

🚀 Getting Started

  1. Install the extension from VS Code Marketplace
  2. Open Redshift panel from the Activity Bar (database icon)
  3. Click the + button to create your first connection
  4. Enter connection details and test the connection
  5. Start querying by opening any .sql file

💡 How to Use

Create Connection

  • Click + in Redshift Connections panel
  • Enter host, port, database, username, password
  • Test connection to verify credentials

Execute Queries

  • Ctrl+Shift+E (Cmd+Shift+E on Mac): Execute file or selection
  • Ctrl+E (Cmd+E on Mac): Execute selected text only
  • Run button: Available in .sql file editor toolbar

Connection Management

  • Green icon: Connection is healthy
  • Red icon: Connection failed or disconnected
  • Loading icon: Testing connection in progress
  • Active label: Currently selected connection

🔧 Requirements

  • VS Code 1.74.0 or higher
  • Amazon Redshift cluster access
  • Network connectivity to your Redshift cluster

📊 Query Results

View results in formatted tables with:

  • Column headers and data types
  • Row count and execution time
  • Export to CSV functionality
  • Error messages with detailed information

🛠️ Troubleshooting

Connection Issues:

  • Verify host, port, and credentials
  • Check network connectivity and security groups
  • Ensure Redshift cluster is publicly accessible (if connecting from outside VPC)

Query Execution:

  • Make sure a connection is active (green status)
  • Check SQL syntax for errors
  • Verify permissions for the database user

📝 Supported SQL Features

  • SELECT, INSERT, UPDATE, DELETE statements
  • DDL operations (CREATE, ALTER, DROP)
  • Redshift-specific functions and syntax
  • Multi-statement execution
  • Comments and formatting preservation

🔒 Security

  • Passwords are stored securely in VS Code's secret storage
  • Connections use SSL by default
  • No credentials are logged or transmitted to external services

📄 License

MIT License - see LICENSE file for details.

🐛 Support

  • Issues: GitHub Issues
  • Feature Requests: GitHub Issues
  • Source Code: GitHub Repository
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft