Viewing 15 posts - 901 through 915 (of 2,648 total)
I've put an LTRIM on the output to make it the same as the SQL Server version, also it was searching the string for the delimiter one short of the...
March 5, 2021 at 6:22 pm
Great, thank you for the correction. Here is another Problem to consider
INSERT INTO @Test SELECT value FROM dbo.STRING_SPLIT('Abc, Ced, Def, ', ', ')gives "Abc", "Ced" and "Def,...
March 5, 2021 at 6:10 pm
Is this what you want?
SELECT a.Eid , b.typ
FROM sample_data a
CROSS JOIN sample_data b
ORDER BY 1, 2
March 5, 2021 at 4:30 pm
So you are just trying to make sure you don't load the same file twice. Maybe if you create another table of all the files you have loaded, insert a...
March 5, 2021 at 3:27 pm
Why are you worried about getting duplicates?
If you make sure the same file isn't loaded twice then would that solve your problem?
March 5, 2021 at 2:53 pm
Not sure if I fully understand your problem but would a query to load from the landing table into the appropriate table like this do?
INSERT INTO MainTable
(
...
March 5, 2021 at 2:28 pm
I'm having the following problem with the solution. The following call returns 'bc' as the only value, not 'Abc' as I would suppose:
DECLARE @Test table (Field...
March 4, 2021 at 5:42 pm
To save space, ENCRYPT the body (and other very long columns). This process is rather slow, but it typically does save a lot of space.
And, using triggers, you can...
March 4, 2021 at 3:31 pm
I see, I think an inner join would do the same job.
I can't see how your stored procedure is reusing a temporary table from another call. It looks...
March 3, 2021 at 8:45 pm
It's more likely a bug in the app. When it gets the result set from the temp table, what does the app do with it?
LightVader said in the first...
March 3, 2021 at 8:10 pm
I just started looking at your proc and the first bit of code:
--Create a temp table with the nodes & figures to execute
SELECT n.itemNum,
...
March 3, 2021 at 6:44 pm
I just started looking at your proc and the first bit of code:
--Create a temp table with the nodes & figures to execute
SELECT n.itemNum,
...
March 3, 2021 at 5:46 pm
Yep, as I said, C# has a ternary operator (? : ) that is logically similar to IIF, and VB has IIF, but that doesn't really have much to...
March 3, 2021 at 3:30 pm
If .Net developers can't figure out how to use a CASE statement, then train them better or get developers who can.
I don't think I'd blame this on...
March 3, 2021 at 3:04 pm
I'm having an issue with a database that I recently moved from SQL 2014 to SQL 2019 (Standard in both cases). The users get data from the database using...
March 2, 2021 at 11:16 pm
Viewing 15 posts - 901 through 915 (of 2,648 total)