19,943 questions with SQL Server-related tags

Sort by: Updated
0 answers

Query locking

Hi, ALL, I am trying to run the following query thru SQLPrepare/SQLBind/SQLExecute sequence: INSERT INTO abcattbl WITH( TABLOCK ) SELECT ?, ?, (SELECT object_id FROM sys.objects o, sys.schemas s WHERE s.schema_id = o.schema_id AND o.name = ? AND s.name =…

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,407 questions
asked 2025-02-02T06:37:20.0466667+00:00
Igor Korot 46 Reputation points
0 answers

Query locking

Hi, ALL, I'm trying to execute following query with SQLExecute(): INSERT INTO abcattbl WITH( TABLOCK ) SELECT ?, ?, (SELECT object_id FROM sys.objects o, sys.schemas s WHERE s.schema_id = o.schema_id AND o.name = ? AND s.name = ?), '', 8, 400, 'N', 0,…

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,407 questions
asked 2025-02-02T02:49:29.8266667+00:00
Igor Korot 46 Reputation points
0 answers

unable to install my sql from windows 11, i get Exit code (Decimal): -20618936606Error

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,407 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,988 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,407 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,988 questions
asked 2025-02-02T00:42:16.32+00:00
Malla, Cydrx Ian 0 Reputation points
0 answers

unable to install my sql from windows 11, i get Exit code (Decimal): -20618936606Error

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,407 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,988 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,407 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,988 questions
asked 2025-02-02T00:42:16.32+00:00
Malla, Cydrx Ian 0 Reputation points
3 answers

Unable to install SQL server

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,407 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,988 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,638 questions
SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
547 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,309 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,407 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,988 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,638 questions
SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
547 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,309 questions
asked 2024-06-03T08:19:20.6533333+00:00
Cydrx Malla 5 Reputation points
commented 2025-02-02T00:33:11.85+00:00
Malla, Cydrx Ian 0 Reputation points
3 answers

Unable to install SQL server

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,407 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,988 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,638 questions
SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
547 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,309 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,407 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,988 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,638 questions
SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
547 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,309 questions
asked 2024-06-03T08:19:20.6533333+00:00
Cydrx Malla 5 Reputation points
commented 2025-02-02T00:33:11.85+00:00
Malla, Cydrx Ian 0 Reputation points
1 answer

SSIS package failed to run

Fail to run the package from agent job. It said unexpected error. But when i run it in VS project it works.

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,988 questions
asked 2025-01-31T15:18:39.0033333+00:00
Sin X 20 Reputation points
edited an answer 2025-02-02T00:32:58.7733333+00:00
Yitzhak Khabinsky 26,371 Reputation points
0 answers

System can’t find the specified path error

hello, I’m trying to install SQL Server 2022 to my PC several times now and it always have the same issue, that the installation cannot be made because “the system can’t find the specified path” Is there a way to complete the installation?

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,407 questions
asked 2025-02-01T21:27:21.5166667+00:00
Ramiro Alfonso Sarmiento Smith 0 Reputation points
commented 2025-02-01T21:44:33.16+00:00
Erland Sommarskog 116.2K Reputation points MVP
1 answer

What is MARS commection

Hi, ALL, I thought that MARS connection is for the following scenario: SELECT field1 FROM table1 WHERE SELECT field2 FROM table2 WHERE table2.field1 = table1.field1_value As you can see there are 2 open statements for which MARS is a solution, Apparently…

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,407 questions
asked 2025-01-26T22:47:42.9533333+00:00
Igor Korot 46 Reputation points
commented 2025-02-01T18:19:23.5733333+00:00
Erland Sommarskog 116.2K Reputation points MVP
2 answers

How can I convert from SQL Server ORDER BY [Date] ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW to LinQ Query?

I have a SQL query and want to convert it to LINQ. It would be great if some experienced people could help. CREATE TABLE [dbo].[tbl_payment]( [Id] [int] IDENTITY(1,1) NOT NULL, [Companyid] [int] NULL, [Date] [datetime] NULL, [PaymentAmount]…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,586 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,407 questions
asked 2025-01-31T11:49:59.4766667+00:00
jewel 1,086 Reputation points
commented 2025-02-01T15:56:59.5233333+00:00
jewel 1,086 Reputation points
0 answers

How to resolve data update issues with Microsoft SQL Server 2012 in an SAP application?

I am unable to update data on my SAP application due to an error related to Microsoft SQL Server 2012.

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,407 questions
asked 2025-02-01T10:51:25.1533333+00:00
Meimei 0 Reputation points
commented 2025-02-01T11:32:21.1733333+00:00
Erland Sommarskog 116.2K Reputation points MVP
1 answer

how to Run SQL server Standard edition on Docker with license key

I went to run SQL Server standard edition on docker-compose. I have applied the license on the compose environment variable but in query, it shows that LicenceType is disabled. SELECT SERVERPROPERTY('LicenseType') as Licensetype, …

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,407 questions
asked 2025-02-01T08:26:33.2+00:00
Easy Payment System - EPS 0 Reputation points
commented 2025-02-01T10:23:08.03+00:00
Erland Sommarskog 116.2K Reputation points MVP
0 answers

Getting different SQL exceptions in SQL server Vs Java client application.

Hello Team, I am getting the following error in my client application and it is failing to connect to the database - On the 2019 SQL server- "The login packet used to open the connection is structurally invalid; the connection has been closed.…

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,407 questions
asked 2025-02-01T05:22:17.71+00:00
Jeevan Choudhary 0 Reputation points
commented 2025-02-01T10:07:18.65+00:00
Erland Sommarskog 116.2K Reputation points MVP
1 answer

SQL SERVER INSTALLATION

I TRIED TO INSTALL SQL SERVER BUT I FACE THIS ISSUE Detail.txt

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,407 questions
asked 2025-01-28T12:44:52.74+00:00
Mohammed Mohammed Elgohari 0 Reputation points
answered 2025-02-01T09:51:07.57+00:00
Erland Sommarskog 116.2K Reputation points MVP
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.
14,407 questions
asked 2024-06-26T17:07:45.8366667+00:00
BeUnique 2,292 Reputation points
commented 2025-02-01T06:32:39.3533333+00:00
Douglass, Harry W 20 Reputation points
1 answer

SSRS Report Server Connection refused

Hello, i have trouble with SSRS, when i try to connect on the local Server via http://localhost/reports or http://localhost/reportserver the connection is refused. On the machine there are SQL Server2022 and SSRS 2022 installed. I checked the services…

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,988 questions
asked 2025-01-24T10:22:22.87+00:00
Martin Wegner 0 Reputation points
answered 2025-02-01T00:08:08.5733333+00:00
Jonathan Pereira Castillo 13,115 Reputation points Microsoft Vendor
1 answer

SSIS Ole DB Source Editor - Error: No Column Information Returned by SQL Command

The Ole DB Source Editor was functioning correctly with the Data Access Mode set to SQL command, using a query that included a parameter. Sample Query: SELECT * FROM view_CUSTOMER_DATA WHERE ACTIVE = 'Y' and LAST_SHOPPING_DATE = ? A parameter with 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.
14,407 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,638 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,407 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,638 questions
asked 2025-01-28T05:06:39.1+00:00
Vikram Oza 0 Reputation points
answered 2025-02-01T00:06:19.7266667+00:00
Jonathan Pereira Castillo 13,115 Reputation points Microsoft Vendor
1 answer

SSIS Ole DB Source Editor - Error: No Column Information Returned by SQL Command

The Ole DB Source Editor was functioning correctly with the Data Access Mode set to SQL command, using a query that included a parameter. Sample Query: SELECT * FROM view_CUSTOMER_DATA WHERE ACTIVE = 'Y' and LAST_SHOPPING_DATE = ? A parameter with 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.
14,407 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,638 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,407 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,638 questions
asked 2025-01-28T05:06:39.1+00:00
Vikram Oza 0 Reputation points
answered 2025-02-01T00:06:19.7266667+00:00
Jonathan Pereira Castillo 13,115 Reputation points Microsoft Vendor
2 answers

SPID -5 blocking everything.

SS 2022 CU 13 Greetings. Last weekend we moved to a new SQL server, and last night didnt go so well. When I logged in this morning we had LOTS of blocking from spid -5. I can't find much info on this but did find this link that shares this detail: In…

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,407 questions
asked 2025-01-31T15:37:03.4666667+00:00
chrisrdba 431 Reputation points
answered 2025-01-31T23:55:20.31+00:00
RahulRandive 10,221 Reputation points
1 answer One of the answers was accepted by the question author.

Declare variable error

Receive this error when running the code below. Don't know how to resolve it. Command1.CommandText = "UPDATE names2 " & "SET trn_date1 = @trn_date1, " & "trn_date2 =…

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,407 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,777 questions
asked 2025-01-31T17:59:02.7966667+00:00
SuperCoder 216 Reputation points
accepted 2025-01-31T23:45:00.5966667+00:00
SuperCoder 216 Reputation points