6,819 questions with SQL Server-related tags

Sort by: Updated
3 answers One of the answers was accepted by the question author.

SQL Server Reporting Services 2019 licensing

Hello Can someone please help clarify the below for me. I know SSRS installed separately, My question is, isn´t SQL Server Reporting Service (SSRS) delivered as a part of the SQL Server Standard and Enterprise editions? Or does it require a…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,153 questions
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.
2,854 questions
asked 2022-07-27T08:08:52.157+00:00
Vieira Nicki 36 Reputation points
answered 2024-06-27T09:41:32.61+00:00
Kilimandjaro 0 Reputation points
3 answers One of the answers was accepted by the question author.

SQL Query Date between not filtering properly

I am querying using my SQL table and trying to form simple date between query. when i am querying, i am not getting properly correct rows. My SQL Column is : DOJ (Datatype is datetime) and sample data is…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,153 questions
asked 2024-06-26T17:07:45.8366667+00:00
Gani_tpt 2,126 Reputation points
accepted 2024-06-27T08:41:53.8733333+00:00
Gani_tpt 2,126 Reputation points
1 answer One of the answers was accepted by the question author.

Question on Dimension Security in SSAS cubes

Dear Team, Looking for help on below technical knowledge. This question is for MSBI - "SQL Server Analysis Server " Is it possible to create a security for entire dimension in "dimension data" tab of "Roles" window. For…

SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,258 questions
asked 2024-02-08T16:43:40.5433333+00:00
Prema Prabhu 0 Reputation points
accepted 2024-06-27T08:21:51.1666667+00:00
Prema Prabhu 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to load the data from source when there are two delimiters using SSIS?

Below is my data in source document. The document has two delimiters like tilde(~) and pipe(|).. ~id~|~name~|~gender~|~age~ ~101~|~ABC~|~M~|~28~ ~102~|~DEF~|~F~|~27~ How can I load the data into SQL table Emp? Please look into this and do neeedful Thanks…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,500 questions
asked 2024-06-26T06:22:16.23+00:00
Ramana Kopparapu 246 Reputation points
accepted 2024-06-27T05:10:08.18+00:00
Ramana Kopparapu 246 Reputation points
1 answer One of the answers was accepted by the question author.

Sql join query with total row

Hi , please help create table #temp (LedgerID INT, Amount Decimal(18,3)) insert into #temp (LedgerID,Amount) values (121,100),(121,250),(129,25),(129,200),(158,100),(158,500),(157,250),(157,100),(48625,1000) CREATE TABLE #temp_table ( cid INT, type…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,153 questions
SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,258 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,586 questions
asked 2024-06-24T07:11:57.31+00:00
Mohamed Farook 161 Reputation points
accepted 2024-06-27T04:39:03.08+00:00
Mohamed Farook 161 Reputation points
2 answers One of the answers was accepted by the question author.

SP execution time varies with different environment

Dev environment is restored with the latest Test. When a SP with same set of parameter is executed against Test as well as Dev, the execution time is differing with both the environments. In Test it takes 1.45 mins, whereas in Dev it is 3.16/3.08…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,153 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,586 questions
asked 2024-06-22T12:51:19.8666667+00:00
Radhai Krish 191 Reputation points
accepted 2024-06-27T04:36:38.89+00:00
Radhai Krish 191 Reputation points
1 answer One of the answers was accepted by the question author.

How to check for tag existence in XML colum

Good day, I have a complex XML stored in a table's column which may or may not contain the following tag <D_STC12_FreeFormMessageText> How can I select all rows containing this tag? Example from one of XMLs: <D_STC12_FreeFormMessageText>H…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,153 questions
asked 2024-06-25T23:01:38.5833333+00:00
Naomi Nosonovsky 405 Reputation points
accepted 2024-06-26T12:36:31.9466667+00:00
Naomi Nosonovsky 405 Reputation points
4 answers One of the answers was accepted by the question author.

Opening sql files opens new instance of SSMS 18.

Hi, I installed SSMS 18.7.1 in my new laptop and every time I open a new .sql file via double click on it, it opens a new SSMS instance. Its very frustrating. I have repaired SSMS and tried to reinstall again but nothing helped! But if someone had…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,153 questions
asked 2020-12-08T10:06:35.6+00:00
Vishal Mittal 36 Reputation points
commented 2024-06-26T12:25:28.36+00:00
Flavien ROSSIGNOL 0 Reputation points
5 answers One of the answers was accepted by the question author.

Change DB owner while it's being used?

Hello I'm trying to change the owner of an active SQL 2014 DB using: ALTER AUTHORIZATION ON DATABASE::[TargetDB] TO LoginNameOwner; When I run it it seems to hang and notice causes Blocking so I cancel above statement. While running above there are…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,153 questions
asked 2021-05-19T22:17:06.453+00:00
techresearch7777777 1,801 Reputation points
answered 2024-06-26T11:54:21.9366667+00:00
Carel van der merwe 0 Reputation points
2 answers One of the answers was accepted by the question author.

Queries with EF Core causes 'Cannot continue the execution because the session is in the kill state'

Some EF Core queries are throwing the following error in our code : Cannot continue the execution because the session is in the kill state. Une erreur grave s'est produite pendant la commande actuelle. Les résultats devront être supprimés, le cas…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
716 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.
13,153 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,537 questions
asked 2024-06-07T10:02:04.1466667+00:00
Arthur Menétrey 20 Reputation points
answered 2024-06-26T08:48:21.2633333+00:00
Arthur Menétrey 20 Reputation points
3 answers One of the answers was accepted by the question author.

Export Query Results as CSV WITH Headers

I just need to get my query results out to a CSV file WITH Headers quickly (without going through the whole SSIS process for a one-off job). I thought the option below would do the trick, but I get a CSV WITHOUT Headers. Advice?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,153 questions
asked 2023-03-28T21:32:41.3666667+00:00
Dom 771 Reputation points
commented 2024-06-25T20:56:03.68+00:00
Erland Sommarskog 104.5K Reputation points MVP
2 answers One of the answers was accepted by the question author.

Sql server Metrics : is 100% CPU percentage is a blocker for all DB operations?

HI All We have observed a case in our database where the CPU perncetage is 100% for quite some time but my application are still able to hit & operate over DB, is 100% CPU usage isnt a blocker for DB operations ?? I see 2 CPU metrics 1) CPU…

Azure SQL Database
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,436 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.
13,153 questions
asked 2024-05-27T01:27:28.3866667+00:00
Manoj Mathe 20 Reputation points Microsoft Employee
accepted 2024-06-25T18:29:39.9366667+00:00
Manoj Mathe 20 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

Matrix's backgroud color

HI, I NEED A HELP I HAVE A MATRIX, AND I WOULD LIKE TO CHANGE THE BACKGROUND COLOR WHEN THE AGREGATED VALUE IS UNDER THAN 92K. I TRYED TO USER A SIMPLE SWITCH OR IIF (IN TABLIX ITS WORKS FINE), BUT IT CHANGE ALL CELLS IN THE MATRIX...   HOW CAN I DO THIS…

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.
2,854 questions
asked 2024-06-21T16:06:29.46+00:00
commented 2024-06-25T13:32:39.04+00:00
2 answers One of the answers was accepted by the question author.

update all DB

I want to update the cells with the value "ABCD" to "XYZW" in all tables in the DB.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,153 questions
asked 2024-06-25T07:56:42.12+00:00
ahmet sincar 21 Reputation points
accepted 2024-06-25T11:35:22.8733333+00:00
ahmet sincar 21 Reputation points
2 answers One of the answers was accepted by the question author.

Steps to use Cyber Ark to manage Data Source Credentials with on Prem Power BI report server

Hello, I am getting mixed results when trying to determine if Power BI report Server can use Cyber ARK PVWA for managing Data Source account passwords. Using PVWA enables Web application to connect to a credential managed Vault to retrieve service…

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.
2,854 questions
asked 2024-06-21T13:27:08.5466667+00:00
NORRIS, CHIP 20 Reputation points
commented 2024-06-25T11:27:26.5066667+00:00
NORRIS, CHIP 20 Reputation points
1 answer One of the answers was accepted by the question author.

SCCM Database Replication

Hello, There is link degraded between CAS and Primary. spdiagdrs output shows that some replication groups are under degraded state. Please help to understand this replication and degradation. Share any article to read about the same. How to solve this…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,153 questions
Microsoft Configuration Manager
asked 2024-06-24T11:12:30.59+00:00
Boopathi Subramaniam 3,261 Reputation points
accepted 2024-06-25T09:12:30.8933333+00:00
Boopathi Subramaniam 3,261 Reputation points
2 answers One of the answers was accepted by the question author.

SQL Sever migration - SQL 2014 to 2022

Checking on migration option for SQL Server upgrade from SQL 2014 to SQL 2022. Installing separately 2022 in the same server and move the DBs & setups to the new Server. It is mentioned here, that "System databases can be restored only from…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,153 questions
asked 2024-06-24T06:12:54.36+00:00
Radhai Krish 191 Reputation points
accepted 2024-06-25T04:27:33.86+00:00
Radhai Krish 191 Reputation points
3 answers One of the answers was accepted by the question author.

Help in SQL Conversion query

How I can convert Total column from varchar to numeric to show result in numeric with two decimal using SELECT query. Create table #temp (Num1 numeric (6,2), Num2 numeric (6,2), Num3 numeric (6,2), Num4 numeric (6,2), Total varchar(200)) insert into…

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.
61 questions
asked 2024-06-23T23:34:19.0633333+00:00
Kenny Gua 431 Reputation points
commented 2024-06-24T23:45:11.1866667+00:00
Kenny Gua 431 Reputation points
1 answer One of the answers was accepted by the question author.

error while installing SQL express edition

Hi everyone, im trying to install the SQL express edition server but getting this error and not sure how to approach, installation error It says Oops installation initialization successful

Azure SQL Database
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,153 questions
asked 2024-06-24T18:18:15.5933333+00:00
senthil 20 Reputation points
accepted 2024-06-24T19:46:00.8233333+00:00
senthil 20 Reputation points
2 answers One of the answers was accepted by the question author.

Is there a way I can tell which account turned off the SQL Server Agent?

I have a little situation that I'm left searching for answers for. Some person or process (I'm being generous as I don't, for one second, believe the culprit is a process) stopped my database server's SQL Server Agent several days back and I'd like to…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,153 questions
asked 2024-06-18T16:12:52.7233333+00:00
Heath, Craig 20 Reputation points
accepted 2024-06-24T15:00:51.0366667+00:00
Heath, Craig 20 Reputation points