Viewing 15 posts - 541 through 555 (of 1,583 total)
1) Sort of, and 2) Yes.
If you are using a linked server via MSSQL then it applies, if you're setting up an a linked server via an ODBC or a...
______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience
February 7, 2014 at 5:55 am
Remote Login Timeout: the time it takes to authenticate on a linked server before timing out. For example, if you are trying to log in to a remote server and...
______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience
February 6, 2014 at 7:49 pm
I can't recall off hand if it's a bug within SQL or not, but it will work if you use the fully qualified domain name that the share is mapped...
______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience
February 6, 2014 at 7:40 pm
This isn't pretty by any means, and you probably should just use a power shell script or something similar, however this will work - just tweak it as needed: SET...
______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience
February 6, 2014 at 3:30 pm
@arnipetursson +1 - The logins/SIDS completely slipped my mind, but shouldn't pose much of an issue considering they would physically be available to the DR site, you'd just need to...
______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience
January 31, 2014 at 3:58 pm
Nice article. However, I am having difficulty opening up the RDL file, many errors:
Warning1The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition' which cannot be upgraded.00
I assume this is...
______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience
January 24, 2014 at 11:35 am
Without knowing more details on your setup, transaction replication may be overkill...or not even possible.
For one table/one column I'd probably just set up a trigger to perform the delete/insert/update as...
______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience
January 20, 2014 at 8:14 am
TheSQLGuru (10/16/2008)
1) You should cover the need to handle foreign keys to the PK
2) You should cover a best practice of dropping...
______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience
December 6, 2013 at 7:29 am
Please refer to this great article (near the bottom)
______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience
November 26, 2013 at 8:49 am
Through Google searching I've come up with a great way to automatically script out the procedures, but currently am having trouble getting the delete portion to work
Powershell script$rootDrive = "C:\Temp\"
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO")...
______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience
November 19, 2013 at 12:48 pm
What are you using? TSQL? SSIS?
Where's your query that generated the data?
______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience
November 8, 2013 at 9:58 am
Thanks for the suggestion, much appreciated - I know I could do that but I'm looking for an automated way it can be done (something I can place in a...
______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience
October 31, 2013 at 11:19 pm
MUCH SIMPLER 🙂
Mark-101232 (10/23/2013)
;WITH Dups AS (
SELECT
[Patient_Count]
,[Read_code7]
,[Read_code]
,[Current_Caseload_Holder]
,[Staff_number]
,[Event_date]
,[Event_done_at],
ROW_NUMBER() OVER (PARTITION BY [Read_code7],[Read_code],[Staff_number] ORDER BY CASE WHEN [Current_Caseload_Holder] IS NOT NULL THEN 0...
______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience
October 23, 2013 at 8:17 am
Just add a condition Current_Caseload_Holder IS NOT NULL
Or you can just add to your CTE and fetch records for the ones that are/are not null, using a UNION ALL
______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience
October 23, 2013 at 8:15 am
An example that may work for you (as mark suggested in the link provided);WITH Dups AS (
SELECT
[Patient_Count]
,[Read_code7]
,[Read_code]
,[Current_Caseload_Holder]
,[Staff_number]
,[Event_date]
,[Event_done_at],
ROW_NUMBER() OVER (PARTITION BY [Read_code7],[Read_code],[Staff_number] ORDER BY [Read_code7]) AS Cnt
FROM MyTable
) SELECT * FROM...
______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience
October 23, 2013 at 7:50 am
Viewing 15 posts - 541 through 555 (of 1,583 total)