Forum Replies Created

Viewing 15 posts - 181 through 195 (of 405 total)

  • RE: create variable

    You will not find a scope like parent variable. You should create a variable as normal and scope it either to package or task level.

    In youre package configuration you should...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: 'The subscription(s) have been marked inactive and must be reinitialized. NoSync subscriptions will need to be dropped and recreated.

    This is an error associated with replication.

    start here

    http://www.sqlservercentral.com/articles/Stairway+Series/72274/

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: dynamic sql- insert (error)

    The error clearly says that you cannot insert null to organazationId column. I assume this column to be not null or even primary key.

    If it is not null try inserting...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Datatype varchar(MAX)

    in ssms - Tools > Options > Query Results

    You will find that the charecters that can be diplayed in each type has an upper limit.

    But while using the variables...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: automate database script in sql server 2008

    If you have not found already.

    Server srv = new Server();

    //Reference the AdventureWorks2008R2 database.

    Database db = srv.Databases["AdventureWorks2008R2"];

    //Define a Scripter...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Log File full / Database Down

    How did you restore the database?.

    While restoring did you add with norecovery?

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Datatype varchar(MAX)

    What is the problem of using varchar(max). I think 2GB is well enough for any query.

    If you are printing or selecting from the variable, the output result may be truncated...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: JDI INTERNATIONAL

    Reported

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Log File full / Database Down

    What is the status of your databse as per management studio?

    What error you have in your error log?

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: automate database script in sql server 2008

    What is the error you are getting for the C# script.

    Also you must add refernce to classses

    using Microsoft.SqlServer.Management.Smo;

    using System.Collections.Specialized;

    You need to add references in SSIS project for

    Microsoft.SqlServer.Management.Smo

    and

    Microsoft.SqlServer.ConnectionInfo

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: automate database script in sql server 2008

    Got it.

    You mean generate database scripts periodically.

    In fact there is not out of the box solution for this in SSIS.

    However you can use SMO using c# to acheive this.

    http://stackoverflow.com/questions/3488666/how-to-automate-script-generation-using-smo-in-sql-server

    You can...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Partitioned Tables

    Just by partitioning we cannot be sure to get performance benifit.

    You should look at your queries and execution plans and see partition elimination is happening.

    look at your frequent / long...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: automate database script in sql server 2008

    Can you provide more details ?

    What scripts you are trying to automate , backups ?

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: SSIS with PGP Encryption Failed when execute with SQL Server Job

    can this help?

    http://stackoverflow.com/questions/6350442/gpg-error-code-2

    Also make sure the succes value is the correct one. Most process has 0 for success. I gave you that suggestion only because you said the file was...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: What, if any, is the best type of replication for implementing on hundreds of databases on one server?

    Hi,

    Replication is more like a reporting solution, it gives you choice of tables ore even columns that needs to be replicated.

    Mirroring can be considered as DR (I had...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

Viewing 15 posts - 181 through 195 (of 405 total)