Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [sql-server]

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.

sql-server
0 votes
0 answers
31 views

How to create a file in another server using T-SQL

I have 2 servers; one server hosts a SQL Server (which is a Windows machine), and the other one is a linux system. I want to export the data from the SQL Server instance to linux system. While I was ...
kalyan4uonly's user avatar
0 votes
0 answers
43 views

Need to Get the no.of records Inserted in Sql Table in last 10 days

In my table I didn't have primary key and forgot to add timestamp column. Now I would need to find the records with date time of insertion in last 10 days. Is there a way to find this? If yes then how?...
Sumeet Kumar's user avatar
0 votes
0 answers
15 views

Azure Pipeline timeout with testcontainers

I have a similar issue as this: Testcontainers: Azure pipeline test stage reach timeout of 1hour I would have commented there but I can't comment because I don't have 50 reputation. It's the same case,...
davor300's user avatar
-2 votes
0 answers
48 views

Why am I getting the wrong value or NULL after doing left joins? [closed]

I have a table called Persons with an ID column. I have another table called Cases which has an ID, another PersonID, and the date that the case was made. I have a third table called PersonsCases, ...
Soob's user avatar
  • 1
0 votes
0 answers
46 views

Improve performance or change query so it can be an indexed view

We have this query in a non-indexed view in SQL Server 2022. It's used everywhere and I'm trying to improve the performance. A lot of queries we use elsewhere join to it. My thought was whether there'...
Dave Quested's user avatar
0 votes
0 answers
30 views

Unable to Connect to Azure SQL Server Database Using JDBC Driver in Android App

I'm developing an Android app and trying to connect to an Azure SQL Server database using the JDBC driver. I'm encountering a java.lang.AssertionError related to SSL/TLS communication. Below is the ...
SiikWoon's user avatar
-3 votes
0 answers
23 views

Can not connect to SQL Server [duplicate]

I try to change IP address and restart the SQL Server at services.msc, reload too many time, and I get this error: TITLE: Connect to Server Cannot connect to DESKTOP-1GSM5LI\ZUN. ADDITIONAL ...
Chau anh's user avatar
-4 votes
0 answers
32 views

Validating rules [closed]

I've a table data:ORG ER |ACT | BUD N |ACT N_1 I identify the cases where I need to identify the ORG ER which will be rejected and I need to insert it in a table of reject. Here the rule 1 that ...
daxnewbie's user avatar
0 votes
1 answer
38 views

Get all hierarchy in SQL Server

I have a table like this: ID_employee ID_Manager 1 1 2 1 3 1 4 2 5 3 6 5 7 5 8 5 (1 is a boss) What I would like is a result like: ID_employee ID_Manager 8 5 8 3 8 1 7 5 7 3 7 1 6 5 ...
Mr Alsi's user avatar
  • 27
-2 votes
0 answers
16 views

i have this error The page cannot be displayed because an internal server error has occurred [closed]

When I uploaded the site to the host, there was no problem. But when we are working with the site. For example, we return to the main page or perform a delete operation, this error occurs! I ...
mahdi yadi's user avatar
0 votes
0 answers
18 views

Uipath connect to SQL Server and use bulkinsert - get System.Exception error

I have an Excel file with 750,000 records. I first use read range to load it into a data table. To avoid issues with large volumes of data, I used a For Each loop to split the data and perform bulk ...
Arien's user avatar
  • 1
0 votes
0 answers
34 views

TinyTDS Login failed when TSQL connects -

I have a RoR API only app: gem 'rails', '~> 7.0.8' gem 'activerecord-sqlserver-adapter', '7.0.7' gem 'composite_primary_keys', '14.0.9' gem 'tiny_tds', '2.1.7' The ubuntu server connects just fine ...
madav's user avatar
  • 3,066
0 votes
1 answer
54 views

Query between two dates gives incorrect results in SQL Server? [closed]

Im trying: SELECT * FROM database a WHERE Applicant_End_date >= '2024-01-01' AND Applicant_Start_date <= '2024-06-30'; Results: Applicant_End_date shows results starting at 2024-01-01 like: ...
SirCal's user avatar
  • 1
-1 votes
0 answers
42 views

SQL query to return the MAX(CreateDate) from tables that are returned in the initial result set?

Working on a SQL Server Management Studio query. The goal is to return the MAX(CreateDate) and table names from a query that returns a set of values from a column called WhenSQL. Each table has its ...
WaterUnderTheStork_21's user avatar
0 votes
0 answers
24 views

Issue with Building .sqlproj Project on macOS Due to Missing SSDT References

I'm currently working on a .NET 6 project. It includes a .sqlproj file for database schema management. Problem faced When trying to build the project with the .sqlproj file on macOS, I get build ...
user26519071's user avatar

15 30 50 per page