20,162 questions with SQL Server-related tags

Sort by: Updated
1 answer

How to install Reporting Services in an Azure SQL VM

Hello, I have an Azure SQL VM and i need to install SQL Reporting Services. I downloaded the setup but it asking for a serial number that i don't have. How do i know the serial number of SQL to insert in the instalation process? Or there is another way…

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
3,011 questions
asked 2023-11-21T15:33:23.5+00:00
Sérgio Raposo 0 Reputation points
commented 2025-03-17T14:45:25+00:00
Silviu Spataru 0 Reputation points
0 answers

In Visual Studio Code, I cannot connect SQL Tools Microsoft SQL Server/Azure to the Azure SQL DB.

"SQL Tools Microsoft SQL Server/Azure", the driver for SQL Tools in Visual Studio Code, seems unable to connect with my Azure SQL Database account's sole logical server. I am able to make connection from Visual Studio Code (VSC) to Azure SQL…

SQL Server Database Engine
asked 2025-03-17T13:44:48.1166667+00:00
JonathanPegg-6724 20 Reputation points
0 answers

Missing Tables in AdventureWorksWD 2020 Database

I am currently working through the Power BI training and following the provided instructions to connect to the AdventureWorksWD2020 database. However, I have encountered an issue where several expected tables, including DimEmployee are missing. Here’s…

SQL Server Training
SQL Server Training
SQL Server: A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.Training: Instruction to develop new skills.
15 questions
asked 2025-03-17T09:00:59.5333333+00:00
Val 0 Reputation points
commented 2025-03-17T10:56:39.2666667+00:00
VarunTha 13,035 Reputation points Microsoft External Staff
0 answers

tại sao khi kết nối với máy chủ SQL 2022 Azure lại không có Restore Database

Khi tôi cài đặt Azure Data Studio kết nối với SQL bản 2022 và muốn restore advanturework 2022 để thực hành thì không có mục Restore dữ liệu khi nhấn chuột phải vào Database mà chỉ có mục Filter và Refesh. Làm thế nào để sửa lỗi này?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,491 questions
Azure Data Studio
Azure Data Studio
A cross-platform database tool for data professionals using on-premises and cloud data platforms on Windows, macOS, and Linux.
136 questions
asked 2024-05-02T10:05:53.28+00:00
Ngọc Yến Đặng 0 Reputation points
commented 2025-03-17T09:04:07.64+00:00
KTM 0 Reputation points
0 answers

SSMS connection to database - Cannot generate SSPI context

Hello, I've got a problem with connection to my MSSQL 2019 Standard instance. Some of symptoms: it happens only for one domain account and on one laptop (Windows 11) happens on excel, SSMS when user runs "runas /user:domain\username…

SQL Server Database Engine
asked 2025-03-17T08:23:06.4866667+00:00
Adam Kawka 0 Reputation points
1 answer

Restrict file type while uploading in ssrs

Hi, I am using SSRS and giving sysadmin permission to the user so that they can upload reports but with that they can also enable cmd prompt. Can you help me with file type restrictions during upload in SSRS through that the user can upload only rdl,jpg…

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
3,011 questions
asked 2025-03-16T17:23:12.8466667+00:00
Akshayaa Kalyanavenkatesh 20 Reputation points
edited a comment 2025-03-17T07:29:04.0766667+00:00
Akshayaa Kalyanavenkatesh 20 Reputation points
1 answer One of the answers was accepted by the question author.

Why do no nodes appear in summary

I thought it would have at least one node, but it didn't. Did I misunderstand its concept

SQL Server Database Engine
asked 2025-03-14T03:29:05.1+00:00
博雄 胡 565 Reputation points
accepted 2025-03-17T02:28:34.9133333+00:00
博雄 胡 565 Reputation points
2 answers One of the answers was accepted by the question author.

How Do I Connect to SQL Server?

How do I connect to a SQL server using my home computer? I ultimately just want to connect SQL to several CSV files that are on my desktop. Please let me know if you need additional information.

SQL Server Database Engine
asked 2025-03-15T21:54:15.8933333+00:00
Brian Oliver 20 Reputation points
commented 2025-03-16T16:25:07.69+00:00
Brian Oliver 20 Reputation points
0 answers

Table Name: Order1 OrderId: Order's id OrderItemId: Item ids of the purchase orders. QuantityOrdered: Number of items Ordered for an order. ItemPrice: Order total value PromotionDiscount: Discount of an Order. batch_id: Batch id of the order. (Note: Us

Click on "Console" at the top right corner. Agree to the terms of service and click Continue. Search for "bigquery" on the search bar at the top. Click on "Create Project" Give the project a name you like. Click on…

SQL Server Database Engine
asked 2025-03-13T16:22:56.8033333+00:00
vamshi k 0 Reputation points
edited a comment 2025-03-15T23:25:53.7933333+00:00
Dan Guzman 9,356 Reputation points
0 answers

Need hands on help with SQL server availability

I need on hands help diagnosing SQL server availability

SQL Server Database Engine
asked 2025-03-14T17:07:03.9566667+00:00
David Svedberg 0 Reputation points
commented 2025-03-15T18:44:33+00:00
Erland Sommarskog 119.6K Reputation points MVP
1 answer

Get list of current active sessions and info

Hello, am aiming to set up a SQL 2016 Agent job that runs say every 15 mins and would like to email me if the Sessions count is greater > 10 where each Sessions have statuses IN ('RUNNING', 'RUNNABLE', 'SUSPENDED') and provide at least the following…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,491 questions
asked 2021-08-11T22:27:49.627+00:00
techresearch7777777 1,961 Reputation points
commented 2025-03-14T20:05:43.5133333+00:00
Balbeer Yadav 0 Reputation points
2 answers One of the answers was accepted by the question author.

SSMS Query Store Regressed queries - buttons don't have tooltips

Hi, I'm trying to analyze information in the Query Store. I started from the top report Regressed Queries which showed nothing for me, but I noticed that several buttons on the right don't have tool tips and it's hard to figure out what they are for. My…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,491 questions
asked 2025-03-10T13:24:05.16+00:00
Naomi Nosonovsky 8,291 Reputation points
commented 2025-03-14T19:10:10.2566667+00:00
Naomi Nosonovsky 8,291 Reputation points
2 answers

Please Help me - How can I fix the 'Culture is not Supported' error when importing an Excel file to a database in SQL Server Management Studio

I have tried countless times to import an Excel file via the SSMS application interface and keep getting the below error. Error 0xc002f210: Preparation SQL Task 1: Executing the query "CREATE TABLE [dbo].[CovidDeaths$] ( iso_code] NV . "…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
2,175 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,491 questions
asked 2023-07-14T09:26:27.05+00:00
Nnamani Chisom Promise 35 Reputation points
commented 2025-03-14T13:13:37.65+00:00
Daniel Odoh 0 Reputation points
11 answers One of the answers was accepted by the question author.

Operand type clash nvarchar

Testing our web app after column encryption is giving us the error below when we try to update an encrypted table. The error message refers to nvarchar(4000) being incompatible with nvarchar(20). In the table being updated we do not have an…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,491 questions
asked 2020-12-29T16:59:42.13+00:00
David Chase 681 Reputation points
answered 2025-03-14T13:07:59.7733333+00:00
santosh lokhande 0 Reputation points
1 answer

Cannot install SQL Server Integration Project in SQL Server 2019

Running Windows 11 Enterprise, version 23H2, OS Build: 22631.4890. Running new installation of "Visual Studio Professional 2019" v16.11.45 SQL Server Integration Services Projects extension - Setup Failed. "Fatal error during installation…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,664 questions
asked 2025-03-13T22:42:03.2633333+00:00
MarkDAgosta-2552 0 Reputation points
answered 2025-03-14T01:24:20.1366667+00:00
ZoeHui-MSFT 41,291 Reputation points
1 answer

Msg 15871, '@@FETCH_STATUS' is not supported.

I am running a query and have @@Fetch_Status while loop, but the query stops at the while loop and gives the error: Msg 15871, Level 16, State 6, Line 43 '@@FETCH_STATUS' is not supported. Not sure what the problem could be. Please assist.

SQL Server Database Engine
asked 2025-03-13T09:10:12.8566667+00:00
Lufuno Sape 0 Reputation points
commented 2025-03-13T22:54:51.4533333+00:00
Erland Sommarskog 119.6K Reputation points MVP
3 answers One of the answers was accepted by the question author.

SQL server collation issue while doing replication

SQL Server Database Engine
asked 2025-03-12T19:23:34.1766667+00:00
Saikiran Avanigadda (INFOSYS LIMITED) 20 Reputation points Microsoft External Staff
accepted 2025-03-13T22:35:24.8566667+00:00
Saikiran Avanigadda (INFOSYS LIMITED) 20 Reputation points Microsoft External Staff
0 answers

SSMS Startup. Package did not load correctly.

I have installed SQL server and SSMS. Upon starting SSMS i get the following error message. This is followed with about 4 other popup boxes saying things like “visual studio common IDE package” did not load correctly. Please help me diagnose this error.

SQL Server Transact-SQL
SQL Server Transact-SQL
SQL Server: A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.Transact-SQL: A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
148 questions
asked 2025-03-11T22:56:29.6466667+00:00
Blake Judson 0 Reputation points
commented 2025-03-13T22:24:32.4566667+00:00
Blake Judson 0 Reputation points
0 answers

Unknown token received from SQL Server [SQLSTATE HY000] (Error 0)

Ever since the last patching window, we have some scheduled jobs on SQL production that are intermittently failing, producing the error "Unknown token received from SQL Server [SQLSTATE HY000] (Error 0)" The jobs run fine if they are not…

SQL Server Database Engine
asked 2025-03-12T17:43:23.67+00:00
Paul Lagasse 0 Reputation points
commented 2025-03-13T21:51:19.8733333+00:00
Erland Sommarskog 119.6K Reputation points MVP
2 answers

Unable to update connection credentials. Logging into Sql server failed. Possible reasons for this error include an invalid authentication mode, a missing login in Sql server, a login from an untrusted domain or a problem contacting the domain controller

facing issue with connecting sql server to power bi service, in desktop this is working properly and also able to refresh but in service getting error.

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,664 questions
asked 2025-03-11T04:29:49.5633333+00:00
Nirmala Jawalkar 0 Reputation points
answered 2025-03-13T20:26:23.4+00:00
Irfan Mohammed 0 Reputation points