I'm trying to write queries that can loop new columns to selected number, such as 100 or 200 new columns, which use data from the previously created c ...
I'm trying to write queries that can loop new columns to selected number, such as 100 or 200 new columns, which use data from the previously created c ...
I have created 2 azure security groups (Read-SQL and the second is Write-SQL) in order for them to login into multiple Azure SQL servers via SSMS usin ...
I need to be able to copy a row of data multiple times and update a date field with each copy. So if the row that needs to be copied has a date of say ...
I just created a new table in the database with empty columns in varchar(max) datatype. Tried to update the column values using pyodbc but the changes ...
I recently downloaded ssms 2022 but it refuses to accept connections, make diagrams, giving comments, relations, give design view of the table, etc. t ...
I have two different databases. Let's say 'DbOne' and 'DbTwo'. Is there any way to do the followings? Create a view in DbOne Transfer data in a ...
I have a problem with a script running under sqlcmd vs SSMS. The first time that I had the problem, I cut the large file (a lot of inserts) into smal ...
We store images in a varbinary(max) column in a table, which are then used in SSRS and our web application. We don't have a front end that allows the ...
I have created an SQL Database on Azure. To secure the connection, I use a P2S VPN with an own certificate. The connection is established and tested. ...
I have the following table: The results that I want are: My current query language is: SELECT h1.Source_ID, min(CONVERT(varchar,h1.CREATED_DATE ...
I'm struggling to explain this, so I apologize in advance. I have one table in Microsoft SQL db that contains duplicate records. At some point every d ...
I have a stored procedure that takes values from an ADF pipeline to write watermark values in a SQL Server table. The new watermark value essentially ...
I have a table in ssms and on using the case statement, it is working as expected as shown: ssms_case_statement But doing the same thing in Power BI ...
I have a table with columns jobId, temperature data, timestamps and duration in seconds per jobId. See example below: I am trying to calculate a 60 ...
In my SQL Server Management Studio the number of rows of the result in the bottom bar has disappeared. In the image attached is the red circle I have ...
How to search two words by below code to find two words (michael|Kuldeep), What I am looking for is to find two names using regular expressions ...
I have created a table in SQL Server 2014 (v12.0 - dedicated SQL pool) with no partitions using SQL Server Management Studio v16.0. Using an automate ...
So it's been 1 week and I can't seem to figure it out. =IF(D8="","",(IF((OR(R8<-3000,R8>3000)),"Outlier", IF((AND(S8>=-50%,S8<=50%,T8> ...
I have uninstalled my SQL Server 2019 and installed SQL Server 2022 Express. All my databases are under: My new location is: Attaching a databas ...
I inserted data myself by creating random test data, and the data I have inserted in routing_identifier and account_code have duplicates in them. I ...