Viewing 15 posts - 2,566 through 2,580 (of 13,874 total)
Phil, thank you very much for taking the time to write these queries and I apologize for the delay in replying (works gets in the way of my fun...
July 10, 2020 at 1:27 pm
July 8, 2020 at 4:02 pm
A quick Google search brought me here, which explains how to work round this.
July 8, 2020 at 3:38 pm
Note that the following is vulnerable to SQL Injection. If your business rules table is at any risk of being compromised, don't use this code.
DROP TABLE IF...
July 8, 2020 at 2:42 pm
You'll be needing to use dynamic SQL to make that happen.
But if all of your business rules are like that, why not just join on (Name, Country)?
July 8, 2020 at 2:06 pm
OK, THIS IS RIDICULOUS! I NEVER SIGNED UP TO FOLLOW THIS POST, YET I HAVE HUNDREDS OF EMAILS ON IT. GET ME OFF THIS POST PLEASE!
Just hit the Unsubscribe...
July 8, 2020 at 1:51 pm
Hi,
Below is expected result. i want to compare each with next row on datetimefield and fetch the difference between two. Again comparision is ID wise. If next row contains...
July 8, 2020 at 1:11 pm
Your expression works fine for me:

July 2, 2020 at 5:12 pm
That is weird, but if time is pressing and you want to get round it, you could do something like this:
SELECT ClientPhone = @x.value('(/Data/Client_x0020_Phone_x0020_Number)[1]', 'varchar(30)')
...July 1, 2020 at 8:25 pm
Given that this works:
DECLARE @x AS TIME = '2020-06-22T09:00:00-04:00'
SELECT @x
you are very close.
Can you provide a full example XML string for us to test with?
July 1, 2020 at 7:53 pm
Here is an alternative which avoids the use of IsNull() and does not require 'conversion to a known value':
DECLARE @Var1 DATETIME = NULL;
DECLARE @Var2 DATETIME = NULL;
SELECT...
July 1, 2020 at 1:00 pm
I have not tried doing this, but as far as I can see, the OData connection gives you access to the data in SharePoint lists, not to the data stored...
July 1, 2020 at 12:51 pm
This reply has been reported for inappropriate content.
I don't see any code that was uploaded - it looks like one of your posts was marked as spam.
I have no idea what
It won't load all of...
June 30, 2020 at 9:10 pm
If you were to add a unique filtered index on the CompanyName column, this would prevent the insertion of duplicate non-NULL company names, while allowing multiple NULLs:
CREATE...
June 30, 2020 at 4:24 pm
Unfortunately it does not exist in Table A 🙁
As the numbers you are summing exist in a form where they are not broken down by LC, you cannot retrospectively...
June 30, 2020 at 12:10 pm
Viewing 15 posts - 2,566 through 2,580 (of 13,874 total)