Viewing 15 posts - 1 through 15 (of 375 total)
Thank you both.
Is there a query I can run to find the collation for each table everywhere in my DB? That way I can figure out where the problem is...
October 16, 2025 at 9:37 pm
One thing I wanted to add. I have been experimenting with my query to see how it can be optimized. I have been trying the following approach:
Create temp table first
Create...
October 15, 2025 at 7:40 pm
I forgot to mention...I am not seeing any performance improvements so that is why I am kind of thinking the index is not being setup correctly but that is just...
October 15, 2025 at 3:10 pm
Thank you both for your feedback. Issue has been fixed. I will explain the fix so others can use it for inspiration.
The query uses multiple physical tables to store data. ...
October 15, 2025 at 12:06 am
One way to know is to add a parameter that defines the caller. From the place where the procedure is being called, add the necessary parameter.
If you are going...
October 1, 2025 at 2:27 am
Thanks guys. It works.
September 30, 2025 at 2:18 am
I ran the code and it gave an error:
Msg 214, Level 16, State 2, Procedure sys.sp_executesql, Line 1 [Batch Start Line 2]
Procedure expects parameter '@statement' of type 'ntext/nchar/nvarchar'.
Do you know...
September 29, 2025 at 8:34 pm
It already "knows"... That's what SYSTEM_USER returns. For example...
SELECT SYSTEM_USER AS WindowsAccount, be.*
FROM Bakery.dbo.BakeEvents be;
I know, looks really stupid, but the first column is the user...
September 21, 2025 at 12:15 am
Thank you for the reply.
Yes I mean column titles. That is what I mean by "headers". Sorry for the confusion. Looks like dynamic SQL is a possibility. No clue how...
September 7, 2025 at 2:51 am
Thank you for your reply. I appreciate it.
I ended up re-doing the work and it is working now. No clue what happened to the original version but it is ok. ...
July 25, 2025 at 1:37 am
thanks for the reply.
no such thing as dumb/silly question! 🙂
I haven't done anything different. VS2019 keeps track of which package was opened and I have always been picking the one...
July 24, 2025 at 3:29 am
there is no such thing as a dumb question.
it is sql server 2019:
July 23, 2025 at 3:03 am
I downloaded and installed it. Still not working.
What else do you suggest I try?
July 17, 2025 at 3:00 pm
I am rookie but I am very interested in learning what the pros do so my coding experience and code quality improves. I have been doing some reading on gitlab. ...
July 12, 2025 at 2:31 am
My current attempt at source control is quite basic. I use Task -> Generate Scripts and save the script file. This way I have a snapshot of all tables, SP,...
July 9, 2025 at 3:44 am
Viewing 15 posts - 1 through 15 (of 375 total)