I want to know if it's posible to share SQL Server SESSION CONTEXT variables between different Azure Sql databases using Elastic Queries. I searched in official documentation but i can't found any information about this feature is available or not.
Is it posible to use SQL Server Session Context with Azure elastic queries
317 Views Asked by Pablo García At
1
There are 1 best solutions below
Related Questions in SQL-SERVER
- SQL server not returning all rows
- Big data with spatial queries/indexing
- Conditional null constraint on Null
- SQL Query - Order by String (which contains number and chars)
- Optimising a slow running SQL Server Stored procedure ordered by calculated fields to return a closest match
- Dynamics CRM Publishing Customizations - Multi Developers
- Is there anyway to set the relationship of many tables from Model?
- Implementation of Rank and Dense Rank in MySQL
- ORM Code First versa Database First in Production
- MVC : Insert data to two tables
- Data streams in case of Merge
- table with multiple IDs but seperate notes need sorting (Tried SQL code to make a union query)
- SQL table Partitioning by Year with ColumnStore index implemented on the table
- Defining which network to use for SQL Server 2012 Management Studio
- Fill a week days in a table with preceding Sundays value
Related Questions in AZURE
- Why does Azure Auto-Scale scale go lower then minimum amount of instances?
- Data execution plan ended with error on DB restore
- Why does Azure CloudConfigurationManager.GetSetting return null
- Do I need other roles than Worker Role for a web site and service layer in Azure?
- Azure Web App PATH Variable Modification
- Azure Data Factory: LinkedService for AzureSql in failed state
- How To Update a Web Application In Azure and Keep The App Up the whole time
- Using Azure MobileServices library with my own LAN WebApi
- ionCube loader error on Azure IIS
- App crash (if closed) after click on notification
- How to get sql data bases instances in azure using java api
- I want to create file in azure share using python PUT requests but getting error signature not correct including headers
- Enabling OPTIONS method on Azure Cloud Service (to enable CORS)
- Redirecting subdomain to directory on Azure
- Kaltura account settings error
Related Questions in AZURE-SQL-DATABASE
- Data execution plan ended with error on DB restore
- Azure Data Factory: LinkedService for AzureSql in failed state
- Data streams in case of Merge
- How to get sql data bases instances in azure using java api
- How can I deploy an app using Identity Model to Production on Azure?
- Fatal error: Call to undefined function sqlsrv_connect() in C:\xampp\htdocs
- How do you get the Id field for a newly inserted item using the .NET client for Azure Mobile
- SqlCommandBuilder() creates insert/update for underlying tables instead for a view
- Bulk insert using code first migrations for azure
- Cannot enable Full-Text search on Azure SQL Database V12
- Azure data sync not syncing sql database data properly as expected
- Using MVC App to run CRUD operations on Existing Azure Database
- Sql Server Data Tools Data Comparison fails when connecting to Azure
- ShardMapManager.TryGetRangeShardMap wont retrieve the RangeShardMap
- Always Get 1 record from Table 2 based on some condition
Related Questions in SQL-SERVER-2016
- SSRS 2016 List View Search
- Query fast, but when in a VIEW, it's slow - due to ROW_NUMBER
- Can not install SQL Server 2016 Basic
- R services in SQL Server 2016
- Stored Procedure - Search Parameter across multiple columns
- SQL Server edition for desktop application with no network
- Bottle neck on SORT operation
- Identify input file from PolyBase query in SQL Server 2016
- Calculating Percentage the best way alongside a count
- Merge Statement giving error once last name gets changed in Source Table
- Incorrect Syntax Near GO, T-SQL EXEC()
- Color the datagridview there where it found a difference with SQL
- Automatically submit an "OK" button press to SQL Server when brought up
- How to get end of month date from a "YearMonth" varchar column?
- SQL Server 2016 with Azure Blob Container , nvarchar(max) is not supported for external tables?
Related Questions in SQL-SESSION-STATE
- Share session between multiple applications using .net core
- SQL Server Session State, web farm, and IIS configuration
- SQL Server Session for an Asp.Net MVC application
- Is it possible to store extra data in session store on DB ASP.NET?
- ASP.NET SessionState SQL Server Issue
- How to get the session details in servicestack application from SQLServer using session id sent from mvc application?
- How to share Session in ASP.NET Core 3 between 2 servers?
- SqlSessionState: Unable to cast object of type System.DBNull to type System.Byte[]
- Is it posible to use SQL Server Session Context with Azure elastic queries
- How to share session between UI and Web Api?
- Sharing ASP.NET State databases between multiple apps
- Web Host has strange settings, need alternative session state suggestions
- ASP.NET SessionState with allowCustomSqlDatabase="true" doesn't call specified database
- How does SQL Server session state persistence work?
- How to get session length in minute in SQL Server
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 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?
SESSION CONTEXT exists locally to a single server instance in SQL Server. (It's tied to a session). SQL Azure is built using SQL Server but there are some parts of the mapping that are opaque to customers (they can change based on circumstances such as what Edition you use or what version of the internal software we are using to deliver the service).
Elastic Queries is a feature to let you query from one database (source) to one or more other databases (target(s)). In such a model, you have a SQL Server session to the source database, and the elastic query has a separate connection/session to each other database being touched.
I think the question you are asking is "can I set the session context on the source connection/session and have it flow through to all the target connections when running queries there?" (That's my best guess - let me know if it is different). The answer today is "no" - the session variables do not flow from source to target as part of the elastic query. Also, since today elastic query is read-only, you can't use elastic query to set the session context individually on each target database connection/session as part of the operation.
In the future, we'll consider whether there is something like this we can do, but right now we don't have a committed timeline for something like this.
I hope this explains how things work a bit under the convers. Sincerely, Conor Cunningham Architect, SQL