Viewing 15 posts - 1,771 through 1,785 (of 13,849 total)
Easy. Use PARSENAME():
SELECT base_object_name
,CONCAT(QUOTENAME(PARSENAME(base_object_name, 3)), '.', QUOTENAME(PARSENAME(base_object_name, 2)))
FROM sys.synonyms;
November 9, 2021 at 10:33 am
Sounds like you need to add a loop to your C# code. Which part of the process are you having trouble with?
November 8, 2021 at 10:02 pm
When you say that you get half the rows, have you verified that it is the first 50% of the rows in the file? Or perhaps it is skipping rows?
Another...
November 8, 2021 at 5:19 pm
Hi
Thanks for the replies
I can run the package from a catalog on the server so I think the path is correct I the package for the server.
There does sound...
November 6, 2021 at 5:56 pm
This sounds like something SSIS would be good for.
November 5, 2021 at 4:17 pm
You can avoid that error by modifying your SELECT:
SELECT TOP (100) PERCENT ...
November 5, 2021 at 12:52 pm
Upgraded from an Access 2010 ADP database, linked my tables, but I can't connect to the server when the main module is loaded. Can't figure out the change in...
November 4, 2021 at 4:56 pm
Probably, but how can we write a solution for you if you don't provide DDL, sample data etc?
November 4, 2021 at 4:03 pm
Phil:
Happy to comply, but I'm not sure I know how to do those things. I will try to figure it out.
Other sites have controls for these things, which I...
November 3, 2021 at 6:30 pm
You've been here long enough to know about
a) Putting T-SQL code in a code block and
b) Providing data in a consumable format (which can be pasted into SSMS)
November 3, 2021 at 6:05 pm
What results do you get when you run that?
November 3, 2021 at 4:55 pm
I don't have time for a full answer, but the ACE driver is a separate install.
Take a look here: https://www.microsoft.com/en-us/download/details.aspx?id=54920
November 3, 2021 at 3:30 pm
In that case, please see the following article, which I consider to be the "Holy Grail" for such "Catch-All Query" code.
+1, me too.
November 2, 2021 at 4:36 pm
Sounds like you will be interested in the Query Store.
Please take a look here: https://docs.microsoft.com/en-us/sql/relational-databases/performance/monitoring-performance-by-using-the-query-store?view=sql-server-ver15
November 2, 2021 at 11:35 am
Here are some further ideas and suggestions for you:
October 31, 2021 at 12:47 pm
Viewing 15 posts - 1,771 through 1,785 (of 13,849 total)