Here's a few of the new posts today on the forums. To see more, visit the forums.
|
TSQL: How to transform first row as column name? - Hello, I hope you are all well. I would like your help on a data transformation task that I have. I would like to convert the first row of a table to a column name I am working on SQL Server Azure and I get daily data from another service.This service loads a table that […] |
Date time time zone conversion built in function - I have legacy databases that stores all data in U.S. Central Standard Time. Some servers are on CST and others are on UTC. Built-in function getdate() gets date in the server time, while getutcdate() gets date in UTC. I need a function that will always return date in CST irrespective of the server time. I […] |
First Link in DB Pros That Need Your Help is Broken - For the last two days, the first post in the newsletter takes you to a blank page. The post title is "Windows Server 2016 or Windows 10 for SQL server!!!". It takes you to: "https://www.sqlservercentral.com/forums/topic/windows-server-2016-or-windows-10-for-sql-server-2" and it says "Oops! That page can’t be found.". |
New code formatting checks - I enter this text first with some questions. Now I enter code CREATE TABLE Claim ( PharmNo VARCHAR(20) , ClaimNo VARCHAR(20) , ClaimDate date ) GO INSERT dbo.Claim (PharmNo, ClaimNo, ClaimDate) VALUES ('ABC', '123', '2019-01-01'), ('ABC', '987', '2019-01-02'), ('DEF', '234', '2019-02-01'), ('HIJ', '343', '2019-03-01') GO SELECT a.*, b.* FROM Claim a INNER JOIN Claim b […] |
Redgate sqlbackup problem - Hi all Was not sure where to post this, so apologies if its not in the right area. I'm trying to create a job which will restore databases using Redgate. If I execute this, I get an error, but if I just print the @SQL, then paste it after an Exec sqlpbackup, it […] |
Get list of files in Azure Data Factory - How do I get a list of files in a directory stored on Azure Blob storage |
Executing SQL script in Azure Data Factory - Is it possible to execture a sql script stored on Azure Blob storage in a Data Factory pipeline? |
Backup Job Performance - I have a Legacy SQL Server 2014 Cluster that had about 2TB worth of database on it. The Nodes were Physical 16 cores with around Half a TB of RAM in each node. Only one Instance resides on the instance with around 20 databases on it. These nodes are about 8 years old and the […] |
Mirroring and Logshipping from the Production DB - Hi Guru's We currently have a Production DB Server and DB mirrored to our DR DB Server and DB. As a Mirror its is offline and we can't run queries against it. We are getting more and more requests from our Data Science engineer for data for reporting. It's is possible to have log […] |
Is it possible to keep the SQL catalogues in place after deleting the data from - Hi...Im working on SQL Server, So I am using a SQL Server database with many tables that store large bits of information that is searchable. These tabled, columns are full text enabled. My issue is I do not need the data in the tables. I only query the catalog but never the actual data. Is […] |
How to connect script task variable to Execute sql taskin SSIS - Here is the scenario: I have a Script task which has C# code and it returns a json string and I am storing the string value into a SSIS variable. I am passing this SSIS variable to a Execute sql task and Parse those varaible values into sql server destination. I am not able to […] |
replication from EC2 TO RDS AWS - good evening everyone In the context of a migration project Towards RDS I would like to create a transactional replication between a SQL service instance put in premis EC2 and an RDS instance Who has an idea if this type of replication is allowed are there limitations in RDS that prevent the implementation of replication […] |
t-sql 2012 string together names separated by a comma - In t-sql 2012, I need to string together lots of names where the end result where each name will be separated by a comma. The final endput result will look like the following: Diane Smith, Ed Clark, James Ragon, Bonnie Fline, Lynn Oster. The maximum length of the names that will be strung together will […] |
SQL Database Connection Failure - ProNest 2019 - I'm stumped - any help is appreciated since I'm new to managing anything related to SQL. We're a small business using ProNest (steel plate nesting software). They have an option to setup an SQL database to track inventory. We have 3 users total. I am one of the users as well as the host for […] |
How can I make an encrypted backup using assymetric keys - The only way I know of for making an encrypted backup of a database is to 1) create a master key on both the server where the encrypted backup will be made and on the server where it will be restored, 2) create a certificate on the originating server, 3) backup the certificate, 4) make […] |