Viewing 15 posts - 76 through 90 (of 297 total)
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
Perhaps something like this?
SELECT
RefDocNum,
MAX(AcctDocNum1) AS AcctDocNum1,
DocType1,
LocCrdtAmt,
LocDbtAmt
FROM
...
October 10, 2022 at 7:34 am
I'm especially stayed aware of the article and I will get many benefits from it. Subsequently, thank you for sharing it.
Huh? I don't understand what you're saying. It doesn't...
October 7, 2022 at 8:36 am
In a set-oriented language you return the whole set of values that are temporally equal toMight wan the min(date diff) over(patition by account) .
Look up Dr. Codd's T-Join for...
October 4, 2022 at 7:50 pm
Viewing 15 posts - 76 through 90 (of 297 total)