Viewing 15 posts - 241 through 255 (of 8,760 total)
You can't "restore" the mdf file on its own. You can attach it though. Here's an example.
By the way, sounds like the database is in FULL recovery, but...
November 2, 2022 at 2:50 pm
Question: what kind of connectivity do you have between the two instances?
π
Migrating the data via CSV export/import is one of the most labour-intensive methods.
November 2, 2022 at 11:22 am
The problem is simple, but it would be helpful when you post a problem like this, if you post a readily consumable date set, have a look at the code...
October 27, 2022 at 1:20 pm
Yet again it would be helpful if we could see the actual execution plan!
π
October 23, 2022 at 11:21 am
Your approach is fundamentally flawed as you cannot select missing values from which the values are missing!
π
The solution is simple, this example should get you over this hurdle:
October 23, 2022 at 10:28 am
One shouldn't trust any such software further one can throw a double-decker bus.
π
Network packet capture tools like Wireshark and a properly configured firewall are the minimal precautions. This is why...
October 23, 2022 at 9:39 am
October 21, 2022 at 4:02 pm
sgmunson wrote:Haven't been able to quickly find something online that solves it...
30 second searchΒ https://duckduckgo.com/?q=find+column+name+in+all+databases+sql+server led to the following:
https://sqlserverplanet.com/dba/find-column-in-all-databases
Hope it helps.
The sp_MSForEachDB procedure is not on my menu,...
October 16, 2022 at 2:23 pm
Just a quick thought, here is a slightly more efficient way π
π
SELECT
COLL.DATA.query('.')
FROM @MapRules.nodes('/root/collections/collection') AS COLL(DATA)
WHERE COLL.DATA.value('(groupby/text())[1]','NVARCHAR(50)') = 'RoomNumber';
Reduces the query's work by ca....
October 15, 2022 at 11:47 am
The problem is straightforward, but we need your help in order to help you.
π
Can you please post the DDL (create table) script, sample data as an insert statement and the...
October 15, 2022 at 10:09 am
I need a T-SQL script to find, for a given view across all databases (they all have this one particular view), which ones contain a specific column and which...
October 15, 2022 at 9:53 am
My thought is that, whichever approach you'll take, you are now into the regression testing season, good luck!
π
If you can make 2019/2022 appear as 2008 you should seriously consider getting...
October 14, 2022 at 2:57 pm
Quick question, do you need to capture inserts? If you are capturing updates and deletes, the inserts will be in the source table, normally no need to duplicate that data!
π
Given...
October 14, 2022 at 12:39 pm
Slightly improved version, a test harness and the results from my modest little laptop.
π
The function:
USE TEEST;
GO
SET NOCOUNT ON;
GO
CREATE OR ALTER FUNCTION dbo.ITVF_UXTS_TO_DT2B
(
@UXTimeStamp BIGINT
)
RETURNS...
September 24, 2022 at 12:06 pm
Gosh, Eirikur... now you've got me asking the same as what Thomas asked...
That's an awful lot of implicit (Reverse) and explicit conversions just to handle some negative time stamps...
September 24, 2022 at 11:52 am
Viewing 15 posts - 241 through 255 (of 8,760 total)