Viewing 15 posts - 556 through 570 (of 5,394 total)
Thanks for the feedback!
April 24, 2015 at 10:02 am
Here's a tool for this job: https://scriptsqlconfig.codeplex.com/
BTW, it can script more than just linked servers.
April 24, 2015 at 8:57 am
Always On is a commercial name for a set of High Availability features that include Failover Cluster Instances and Availability Groups.
The main difference is that a clustered instance has the...
April 24, 2015 at 6:07 am
serg-52 (4/23/2015)
Check UNICODE() of the problem symbol and collation. Under some collations ASCII=32 doesn't mean UNICODE =32 which is required for trim() functions.
Great catch!
April 23, 2015 at 4:53 am
What do you mean "trim is not happening"? Do you still see the whitespace chars? Are you sure it's a whitespace? It could be any other non-representable char: check what...
April 23, 2015 at 3:29 am
Yes, log shipping requires a copy of the whole database and cannot be filtered.
Back to replication, with "readonly" you mean that you set "Synchronization direction" to "Download-only to Subscriber, prohibit...
April 23, 2015 at 1:38 am
Duplicate post. Replies here please: http://www.sqlservercentral.com/Forums/FindPost1679290.aspx
April 22, 2015 at 10:25 am
Jeffery Williams (4/22/2015)
ARE YOU KIDDING ME RIGHT NOW??? Dude if you were here I would hug you and give you a big sloppy kiss (glad your not here)..
It worked!!! ...
April 22, 2015 at 9:39 am
Alternative method:
DECLARE @AlterSQL nvarchar(4000)
SET @AlterSQL = 'EXEC ' + QUOTENAME(@DestinationServerName) + '.' + QUOTENAME(@DestinationDBName) +'.sys.sp_executesql N'' ALTER TABLE '
+ QUOTENAME(@DestinationSchemaName) + '.' + QUOTENAME(@DestinationTableName) + ' ADD ' +...
April 22, 2015 at 9:22 am
Jeffery Williams (4/22/2015)
I am setting the statement to a variable. then executing that variable.
Example:
DECLARE ...
April 22, 2015 at 8:55 am
Steve Jones - SSC Editor (4/22/2015)
sp_executesql isn't in your linked server db. It's in master.
Actually, to run in the context of a particular database, you can issue:
EXEC MyDatabase.sys.sp_executesql 'MyCommand'
April 22, 2015 at 8:45 am
You need something to differenciate the MAX and MIN row in some way. I added a column to show which aggregate is used.
Your sample data in a consumable way:
DECLARE @sampleData...
April 22, 2015 at 8:38 am
Duplicate post.
Replies here please: http://www.sqlservercentral.com/Forums/FindPost1679271.aspx
April 22, 2015 at 8:22 am
Try this:
EXEC ('ALTER TABLE Node ADD ImportIdentity int') AT LinkedServerName
April 22, 2015 at 8:21 am
Ok, thanks, much clearer now.
You could use log shipping with standby[/url] to create a redonly copy at the reporting site. Would this work for you?
April 22, 2015 at 5:10 am
Viewing 15 posts - 556 through 570 (of 5,394 total)