I am opening the SQL console from HANA studio by clicking on the schema but it is not connected to database. How can I configure it so that it will open with current schema?
SAP HANA studio open SQL console for current schema
3k Views Asked by OptiPro At
1
There are 1 best solutions below
Related Questions in HANA-STUDIO
- SAP HANA, query to check the size of the FullBackup as displayed in the HANA Studio backup catalog
- Get Month number in calculated column using column engine
- How to retrieve HANA View comment from HANA Studio
- Sap hana studio how to alter a datetime field to always have the current date
- How to backup and restore HANA schema correctly?
- How to create a table variable for using in a JOIN?
- SQL add table subset for each distinct value in another table
- Error while selecting the calculation view through variables
- HANA Studio: Calculated Column with multiple IF-Statement
- Metadata of Calculated columns in HANA
- HANA DB : How to use CONCAT syntax more than 2 fields
- Can Hana only allow user to view certain row of a view, if a condition is met
- SQL Date Range Specification, Explicit vs BETWEEN()
- SAP HANA dark theme change sql script text colors/syntax highlighting
- Query a table where combinations of fields do not exit?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The question is not quite clear. When you can see the list of schemas, you are definitely connected to the database (otherwise SAP HANA Studio wouldn’t be able to show this list).
As I understand the question you like to select one of the schemas from the list and open an SQL editor and want that SQL editor to have the current schema set to the schema you selected.
That behaviour is not implemented in SAP HANA Studio. You can define a default schema for the database connection in the connection properties; otherwise it is always going to be the default schema for the logon user (typically the users’ own schema). You can also run the
SET SCHEMA <schema_name>command in the SQL editor, but this is not automated.Be aware that schemas are not the same as databases (e.g. in MS SQL Server). Schemas really are object namespaces within a database. User and privilege management is still done at database level.