Viewing 15 posts - 1,156 through 1,170 (of 5,394 total)
ELSE cannot be used that way.
I can only be used in CASE statements.
I guess you need OR here.
What are you trying to achieve with that "ELSE"?
September 18, 2014 at 10:26 am
Try with table aliases:
SELECT *
FROM [LinkedServer].[DBonLinkedServer].[dbo].[Sales Price] AS remotetable
WHERE NOT EXISTS
(SELECT localtable.*
FROM [LocalDB].[dbo].[Sales Price] AS localtable
WHERE (localtable.[Item No_] collate Latin1_General_CS_AS = remotetable.[Item No_]) AND
(localtable.[Unit of Measure Code] collate Latin1_General_CS_AS =...
September 18, 2014 at 9:29 am
The variable @@servername may get empty when you rename the windows machine.
I've also seen it happening in other situations but don't remember how.
However it's safer to use SERVERPROPERTY('Servername') rather than...
September 18, 2014 at 9:24 am
BCP out and in is the quickest option in my opinion.
Use the native format (less pain involved).
September 18, 2014 at 9:20 am
What about revoking permissions to everyone but you on the trigger?
Another option is setting up a database mail alert for changes on the view, so that you're notified right away,...
September 18, 2014 at 9:19 am
Just add a check for the database name you want:
$ServerList = Get-Content "C:\ServerList.txt"
$OutputFile = "C:\Jobs\Output.htm"
$HTML = '<style type="text/css">
#Header{font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;width:100%;border-collapse:collapse;}
#Header td, #Header th {font-size:14px;border:1px...
September 18, 2014 at 9:12 am
Your best option is BPC the data out using native format and then BPC in.
You will have to disable FK contraints if you have any.
I suggest that you decide a...
September 18, 2014 at 9:09 am
In SQL Server 2000 your only option is a trace.
Not easy: you would have to set up a trace that captures all T-SQL activity on that table (filter on TextData...
September 18, 2014 at 9:03 am
Sorry, I misread your question.
You just need to uninstall from control panel.
However, I would never reuse the same cluster for something else after uninstalling SQL 2005. I would rather go...
September 18, 2014 at 5:00 am
Here's a good walkthrough:
September 18, 2014 at 3:14 am
Here's a good walkthrough:
SQL Server 2005 is a bit different, because you don't have to install separately on all the nodes (the setup process runs in background on all nodes).
September 18, 2014 at 3:13 am
I'm not sure the EXECUTE...AT construct was available in SQL 2000.
Concatenate the parameters and use OPENQUERY:
DECLARE @ICVR_CLAIM_NBR VARCHAR(19)
SET @ICVR_CLAIM_NBR= 'XXXXXXXXXXXXXXXXXXX'
DECLARE @sql varchar(100)
SET @sql = 'SELECT * FROM OPENQUERY(EXCEEDPP,''call PPSPCOL.X2COVSEL...
September 18, 2014 at 2:26 am
What do you mean? The users that have access to it? The users that created it?
September 18, 2014 at 2:18 am
Duplicate post. Replies here please:
September 18, 2014 at 2:05 am
Viewing 15 posts - 1,156 through 1,170 (of 5,394 total)