Viewing 15 posts - 76 through 90 (of 300 total)
Please see my DDL.
I would like to create:
a) Dimensional table that tracks Primary Accounts’ group movements. An account moves to different groups that are associated with levels of commission paid....
January 31, 2023 at 3:24 pm
Hi Team,
I have a requirement to track any insert/update/Delete operations happened against Database table by any user, catch those changes and send alert.
Please note that there are around 1000+...
January 31, 2023 at 2:13 pm
This is not a reseed per se, but since a TRUNCATE TABLE will restart the identity seed, you can use a temp table to store a copy of the data,...
January 23, 2023 at 7:41 pm
SQL Server doesn't support a JSON data type, in contrast to the XML data type which can be employed for storing XML.
When the XML data type is used for storing,...
January 22, 2023 at 5:41 pm
Absolutely, I have done that a few times.
You can use a script task or a script component to consume the web service. Then you can either store the response as...
January 20, 2023 at 8:54 pm
Not sure if I have got the logic right, but please try this query:
SELECT CONVERT(CHAR(7),EOMONTH(J1.EntryDate)) AS Per, SUM(J1.RunTime) AS TReg, J2.TNQ
FROM Db1.dbo.WipLabJnl J1
OUTER APPLY (
...
January 19, 2023 at 12:14 am
Not sure if I have got the logic right, but please try this query:
SELECT CONVERT(CHAR(7),EOMONTH(J1.EntryDate)) AS Per, SUM(J1.RunTime) AS TReg, J2.TNQ
FROM Db1.dbo.WipLabJnl J1
OUTER APPLY (
...
January 18, 2023 at 9:45 pm
Not sure if I have got the logic right, but please try this query:
SELECT CONVERT(CHAR(7),EOMONTH(J1.EntryDate)) AS Per, SUM(J1.RunTime) AS TReg, J2.TNQ
FROM Db1.dbo.WipLabJnl J1
OUTER APPLY (
...
January 18, 2023 at 9:45 pm
That's too broad a question.
Application? What type of application?
Office-based application? Desktop application? Web application? Mobile application? Console application?
Even knowing that, it will be hard to advice, because we don't know...
January 18, 2023 at 8:22 pm
It's valid JSON. You could try either with two OPENJSON's or one OPENJSON and 2 JSON functions
/* two OPENJSON's */select SerialNumber, ojc.[value] as ChannelID
from openjson(@json) with...
January 12, 2023 at 7:45 pm
Working with a combination of local and remote tables can be tricky.
You can try a few easy modifications and see if that helps:
January 5, 2023 at 5:38 pm
I'd say it's because the CDbl function only expects one parameter value and you supply two.
December 8, 2022 at 6:39 pm
I have no answer, but apparently you're not alone with that issue... 😐
SQL Server 2019 External Scripts Network Drive Access Denied
October 13, 2022 at 3:58 pm
Is this what you're looking for?
DECLARE @MailMessage TABLE (
"to" VARCHAR(100),
"from" VARCHAR(100),
"heading" VARCHAR(100),
...
October 12, 2022 at 5:23 pm
You are partioning on the same column that you do MIN/MAX on. This will not work. As I understand your requirements, you shouldn't do a PARTITION BY, since you want...
October 12, 2022 at 10:05 am
Viewing 15 posts - 76 through 90 (of 300 total)