Currently jpeg images are stored as VARBINARY with HEX values: So I convert it back to binary and display the images. For the proper jpeg VARBINARY ...
Currently jpeg images are stored as VARBINARY with HEX values: So I convert it back to binary and display the images. For the proper jpeg VARBINARY ...
When I try to convert FORMAT(CheckTime, 'yyyy-MM-dd:HH') to CAST([Date-Hour] AS DATETIME) I get this error I want to filter the date based on date a ...
I got exeption of empty sequence . I am geting Guid id resulsts from HTTPContext.Users.FindFirstValue(ClaimTypes.NameIdentifier) and I am geting res ...
I am unable to make an ODBC connection from Windows Server 2008 R2 to Windows Server 2022 running SQL server 2019. I get the following error - Can ...
I have a table called EventLog like this: EventLog Table I would like to display the count of each event type for each deviceId like so: Aggregated ...
I have the following SQL statement which group result by ToUserId and FromUserId columns, it considers (ToUserId , FromUserId) and (FromUserId, ToUser ...
option: Choose an edition of SQL Server: 1) Evaluation (free, no production use rights, 180-day limit) 2) Developer (free, no production use righ ...
How can I pivot a start, end, start break, and end break times into a matrix that looks like the below? Ideally, I'd like to accomplish this in SQL Se ...
The main query and I want to run it for some months in year 2022 select XMONTH from year2020 where XMONTH = condition that returns more than one v ...
I have quite complex linq query with many joins which works really fast with Entity Framework Core 5 (around 10 ms) on SQL Server 2017 (v14.0.3436.1). ...
I need to write a trigger for all tables in a Microsoft SQL Server 2017 Enterprise database that if column is_deleted = 1 and change_user = 'purge', t ...
I'm struggling with writing a statement that would query for both: all rows of one common id, which never have NULLs in two other columns just t ...
The discussed problem has been solved partly in here: Read in nested JSON file in SQL Server but now the JSON file was extended with more objects of ...
I'm having a bit of a problem when trying to populate cascading comboboxes. First part works great, the first combobox gets filled. Here is the code: ...
Ok, so I understand what they are, they're collections of parameter assignments that you can tell a package to use upon execution. What I'm trying to ...
I know that the sequence creation function was newly added in SQL Server 2012. In fact, we also confirmed that sequence objects are not created in ve ...
This question was migrated from Stack Overflow because it can be answered on D ...
I'm studing the Ms SQL AdventureWorks 2014, to model an internal dbase for our company I usually work on Postgres, and I'm trying to "understand" Ms ...
Closed. This question needs details or clarity. It is not currently accepting answers. ...
Closed. This question needs details or clarity. It is not currently accepting answers. ...