Viewing 15 posts - 766 through 780 (of 13,838 total)
This took a while, but was fun! There are a couple of characters in this forum who like to come along and make my code run 17 times faster, with...
October 8, 2023 at 7:33 pm
Do you want a single-cell result, rather than multiple columns?
October 8, 2023 at 12:00 pm
I don't have time to answer right now, but would like to congratulate you on writing such a clear and detailed question, especially as you are new here … well...
October 8, 2023 at 11:58 am
SELECT ID
,Name = CONCAT ('''', Name, '''')
,City = CONCAT ('''', City, '''')
FROM #tbl_Test;
October 8, 2023 at 11:23 am
Here is a cut-down example, which you should be able to expand to do what you want. There is much that can be done to refine it, but as it...
October 7, 2023 at 8:35 am
A table-valued function might do what you need. Have a look at the following link and see whether it gets you on the way:
As you've no doubt already discovered,...
October 6, 2023 at 6:53 pm
Best guess. Please provide your sample data in consumable format in future.
DROP TABLE IF EXISTS #Somedata;
CREATE TABLE #SomeData
(
Id INT
,SomeData VARCHAR(50)
...
October 5, 2023 at 3:30 pm
How are you ordering the data? I do not see what makes the second row come after first.
October 5, 2023 at 3:03 pm
Thanks @Phil
I've just looked and foreign keys are set to TRUE which is odd.
I'll keep an eye on it and see if it happens again.
I'll also go through the...
October 5, 2023 at 10:22 am
I've only seen it when using the designer.
Can you point in the direction of the specific (if there is one) default that needs changing to stop this happening?
I've had...
October 5, 2023 at 9:51 am
Hello,
Of course the COMMIT TRAN have been put within IF and the same has been deployed already.
The question here is why in first couple of days this error did...
October 5, 2023 at 9:11 am
stp = Stored Procedure?
I suspect 'simulated' is not the right word here ... but I'm not sure what you really mean. Please clarify.
What to be done? Fix the bug! You...
October 4, 2023 at 4:56 pm
Thanks for that. We use synonyms to refer to other databases so hopefully that shouldn't cause too many issues.
I'll give it a go with a test database and...
October 4, 2023 at 2:26 pm
@Phil - we haven't yet but we're working on that bit. It would still be painful, but not as bad as creating all the tables by hand, etc
Should be...
October 4, 2023 at 9:00 am
If you've got this all inside a VS database project, editing the .sql files for the tables and then Publishing does everything for you.
But behind the scenes, it is still...
October 4, 2023 at 8:38 am
Viewing 15 posts - 766 through 780 (of 13,838 total)