Viewing 15 posts - 106 through 120 (of 346 total)
You don't seem to returning the @ret from the stored procedure...with or without the raiserror your stored procedure will not return anything...
maybe something like this?
CREATE PROCEDURE sp1(@ret varchar(100) output)
AS
BEGIN
BEGIN TRY
SELECT...
October 6, 2010 at 11:53 am
Maybe this -> http://serverfault.com/questions/147459/cannot-perform-a-differential-backup-for-database-mydb-because-a-current-data
October 6, 2010 at 11:35 am
Gowtham Chowdary (10/6/2010)
October 6, 2010 at 6:50 am
The snapshot will be generated for all articles being replicated (i.e. all the existing articles plus any new articles being added to the publication) - however the distribution agent will...
October 6, 2010 at 1:06 am
Adding/Dropping articles from existing publications: http://technet.microsoft.com/en-us/library/ms152493(SQL.90).aspx
When you are generating the snapshot you will be able to access both the publisher and subscriber - from what I remember the snapshot agent...
October 6, 2010 at 12:28 am
What's the error you're seeing?
October 5, 2010 at 11:16 pm
You can use this procedure http://www.sqlservercentral.com/scripts/Print/63240/ to print out your data in chunks of 8000...I've used it in the past to debug dynamic SQL statements that way exceed 8000 characters...
October 5, 2010 at 8:14 am
Same code snippet as above - using sp_executesql and parameters...this uses the same type of comparison used in your SP code (appending a % for the like comparison) and it...
October 4, 2010 at 9:50 am
For some reason I'm unable to view the code you pasted...however the sample WHERE clause you posted seems to have some issues...I've put in some sample code below modifying the...
October 4, 2010 at 9:25 am
Use the SP available here http://www.sqlservercentral.com/scripts/Print/63240/ to print out your variable in chunks of 8000 characters.
DECLARE @max-2 varchar(max);
SET @max-2 = REPLICATE('X',8000);
SET @max-2 =
October 2, 2010 at 8:20 am
Are you moving the DBs to another location on the same server or to different servers?
http://blogs.msdn.com/b/sqlserverfaq/archive/2010/04/27/how-to-move-publication-database-and-distribution-database-to-a-different-location.aspx talks about how to move the distribution (and publication DB) to a new location...
October 2, 2010 at 8:10 am
[edit]: Looks like this is answered in the original thread http://www.sqlservercentral.com/Forums/Topic996602-391-1.aspx
I've never seen this error but the documentation states that this happens due to workload on the server
http://msdn.microsoft.com/en-us/library/aa337448.aspx
The only "resolution"...
October 1, 2010 at 9:02 am
Replication will support schema changes if you set the replicate_ddl flag when setting up the publication - no need to stop and start replication to replicate schema changes from the...
October 1, 2010 at 8:26 am
BOL has some good information:
http://msdn.microsoft.com/en-us/library/ms151866.aspx - "Configuring, Modifying, and Disabling Publishing and Distribution" - provides steps on how to do this using T-SQL, RMO and SSMS
http://msdn.microsoft.com/en-us/library/ms152503(v=SQL.100).aspx - "Creating, Modifying, and...
October 1, 2010 at 3:30 am
Under what conditions do you see this error? i.e. do you know which query is triggering this error?
Check http://support.microsoft.com/kb/288095 to see if something similar is the cause. This error also...
September 30, 2010 at 4:58 am
Viewing 15 posts - 106 through 120 (of 346 total)