GithubHelp home page GithubHelp logo

jimmystelzer / azuredatastudio-select-top-n Goto Github PK

View Code? Open in Web Editor NEW
12.0 2.0 5.0 130 KB

Azure Data Studio extension to select the first N rows from tables

License: MIT License

JavaScript 5.03% TypeScript 94.97%

azuredatastudio-select-top-n's Introduction

Azure Data Studio Select Top N

This extension select the first N rows from tables and views. There is four new menus under the object browser that allow run the query to show the content of an table/view.

The objetive of this extension is make life easy when manage huge tables/views or tables that has complex column like blob/xml that can be manipuled before run the query.

Features

This is a list of current features of this extension.

  • Predefined select query that show 10 (ten) rows.
  • Predefined select query that show 100 (hundred) rows.
  • Configurable select query that show the requested number of rows.
  • Configurable select query that generete the script without execure the query. To allow the user edit the query.

Screenshots

Select Top N Menu

Select Top N Dialog

Installation

The current release is available to download as a .vsix file and can be installed by opening the command palette (ctrl/command+shift+p) and selecting Extensions: Install from VSIX....

Change Log

See the Change Log for the full changes.

azuredatastudio-select-top-n's People

Contributors

jimmystelzer avatar

Stargazers

Joona Luoma avatar Fran Barton avatar Eric Ogden avatar Andrew avatar Newton Mbazima avatar SDLins avatar Johnson.zhao avatar Daniel Röhers Moura avatar Abdul Munim avatar mcjczapiewski avatar  avatar Savino Basanisi avatar

Watchers

 avatar James Cloos avatar

azuredatastudio-select-top-n's Issues

'Select Top 10/100/N' does not work for Azure SQL Database

Hello,

I've recently installed your extension, but it does not seem to work for Azure SQL Databases. Whenever I use any of the 'Select Top 10/100/N', nothing happens apart from the N-dialog asking me how many rows. There is no query opening in a new window and getting results. I am connected through Entra/Azure AD and I am in the main admin group.

I did find this error in the SQL Tools Service output that gets printed every time I try one of the actions:

[Error - 5:24:52 PM] Request query/simpleexecute failed.
  Message: Query has no results to return
  Code: 0 

Furthermore, it does work on a on-prem Windows Server 2022 hosted SQL Server 16 database.

Data Studio version: v1.48
Extension version: v0.0.5
OS: Windows_NT x64 10.0.19045

Thank you for your time. :)

"SELECT TOP 10/ 100/ N/ N without query" commands do not work

None of the following commands seem to work:
image
The only thing that works correctly is SELECT TOP 1000.

Expected result:

Command should open new window, display and execute the query.

Actual result:

Nothing happens.

System info:

OS: Windows 10 Enterprise build 18363
Azure Data Studio Select Top N: v0.0.4
Azure Data Studio: v1.25.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.