Microsoft SQL Server is a relational database management system (RDBMS). Use this tag for all Microsoft SQL Server editions including Compact, Express, Azure, Fast-track, APS (formerly PDW) and Azure SQL DW. Do not use this tag for other types of DBMS (MySQL, PostgreSQL, Oracle, etc.). Do not use this tag for issues on software and mobile development, unless it is directly related to the database.
319,644 questions 2
- Bountied 2
- Unanswered
- Frequent
- Score
- Unanswered (my tags)
I have a problem while creating post req using mssql nodejs empty values are sent to SQL Server tables
router.route('/orders').post((request, response) => { let order = { ...request.body } dboperations.addOrder(order).then(data => { response.status(201).json(data); }) }) ... node.js sql-server npm http-post
Mahmoud Adel
- 1
SQL Execution Plan Assistance
Good day... I have a stored procedure running on an Azure SQL Database that is taking 50 minutes to complete. The DTU's max out to 100% while the SP runs, but I do not want to add DTU's to my ... sql sql-server query-optimization
Garry B
- 209
SQL Failover Cluster - 'SQL Server' service terminating because of 'fatal exception c06d007e' [migrated]
I have an SQL Failover cluster (2016) with 2 VMs. The 'SQL Server' service was down when seen from 'Failover Cluster Manager'. On checking the Event Viewer logs, the SQL Server showed below error. ... sql-server cluster-computing sql-server-2016
Karthikeyan Narayanan
- 1
Conditionally aggregate rows in SQL Server
Consider the table below: master location locob tb expdep year m1 A 88 85 74.8 2018 m1 B 117 85 99.45 2018 m1 C 110 85 93.5 2018 m1 D 20 85 17 2018 m1 E 127 85 107.95 2018 m1 F 1653 85 1405.05 ... sql sql-server
Question
- 9
DELETE from table1 the matching rows that are in table2 (no primary key in table1)
Table1: StudentId (nvarchar(50)) Score (int) abc 56 def 34 abc 95 Table2: MemberId (nvarchar(50), no duplicates) ComputerId (nvarchar(50)) ClassId (int) abc abc9119e-91d1-4205-8efe-ee87b7baa71 ... sql sql-server tsql
Zuzi Mufu
- 53
How to update a large SQL Table column using values from a Pandas dataframe? [duplicate]
I have the following table from a SQL Server database, which contains 2 million rows: primary key column1 First Null Second Null ... Null Last Null My task is to update column1 using values from ... python sql-server pandas sqlalchemy
Matthew
- 1
Could someone provide feedback on our current database design based on our planned future projects? [closed]
My team and I are new to database design and are looking for some feedback on how we have built our tables and how we should build them in the future. We have multiple vendor master pricing tables ... sql sql-server database-design ms-access-2016
ChesChang34
- 1
SQL Query to Filter out data [closed]
I have a data file from which data needs to be filtered. The data feed have a column and which have value with a mix of numbers and alphabets. I need a query in such a way that if the third value is 1,... sql-server
Deeksha
- 1
Python SQL Server Insert statement works for int values but not for varchars/strings [duplicate]
I have created the below Python Tkinter application to insert values from text entry boxes into a SQL Server table. The program runs and insert number values into the SQL table but fails when trying ... python sql sql-server tkinter sql-insert
ABCDave
- 1
how to extract all digit in nvarchar variable in ms sql
I wanna extract all digit in nvarchar variable and store them in a table or pre-declare variable. example: declare @natioanlCode nvarchar(10) = '0083441141'; and the target result may be like this. ... sql sql-server
Muhamad Khojastefard
- 11
SSIS Package hanging when validating Excel
We are in the middle of upgrading from SQL Server 2012 to 2019. We have an issue with any of our packages that write to Excel files. Basically what happens is that occasionally it will hang ... sql-server excel ssis
RobbZ
- 1,360
How to get Response Text from HTTP Get Request in SQL code? [duplicate]
I made a function for sending http get requests USE [some-db] GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER FUNCTION [dbo].[SendHttpGetRequest](@url VARCHAR(300)) RETURNS VARCHAR(MAX) ... sql sql-server tsql httprequest get-request
Slava Podolskiy
- 145
How to add an error message if the name entered is not in the table
def search_by_name(self): query = """SELECT * FROM Books WHERE book_name = ?""" self.Name = input("Enter The Book Name:") cursor.execute(query, self.... python sql-server
Mazen Hamed
- 1
How to connect flutter App to SQL Server? [duplicate]
I am creating a flutter app and I have to link the app with a SQL Server database. I can't use firebase because it's no SQL. Do you have any solution ? sql-server flutter azure-sql-database
Meliodas
- 1
Is there a way to query MSSQL from BigQuery?
I am looking for a way to query our MSSQL Databases from BigQuery. We have datasets on MSSQL and BigQuery. I need to merge some data. And I want to do it without moving data from MSSQL to BQ. I just ... sql-server google-bigquery
Melih
- 5
153050per page