Forum Replies Created

Viewing 15 posts - 376 through 390 (of 699 total)

  • RE: Connections collection error

    The first error is almost certainly caused because you copy-pasted an SSIS package from another source, or imported it from another source, and the connection manager which that source used...

  • RE: type cast issue occuring inside "derived column" transformation.

    First off, instead of using DT_DECIMAL, I'd recommend using DT_NUMERIC. Since you're dividing by 100, I assume you're looking for a value with two decimal places. This will allow you...

  • RE: Run dynamic SQL through SSIS

    An easy way to solve that would be to just put a Script Task in, and pass the variable into the script task, then put a MessageBox command in your...

  • RE: Dynamic Connection String in File Connection Manager Throwing error

    Is the error happening when you run the package, or just when you save it?

    Either way, the best way to deal with these sort of situations, is to just not...

  • RE: AS400 to SQL 2008 ...

    This is just a theory, since I haven't used AS400 -

    SSIS sometimes has issues with trying to automate certain things that would otherwise seem normal to do. What may be...

  • RE: SSIS-Executing SP which is having parameters.

    So you want, for each of the 10 companies and four regions, an output? In other words, a cross join of the two, resulting in a total of 40 outputs?

    In...

  • RE: Error in SSIS package after deployment

    The problem is one that I've faced several times, and it's because the default encryption level is EncryptSensitiveWithUserKey.

    The problem is that the User Key is something specific to a machine....

  • RE: Question about OR statements

    Are you sure you encased your statements properly?

    I've reformatted your query to make it a bit more readable, and placed the brackets in the appropriate places. Try it out and...

  • RE: VS_NEEDSNEWMETADATA error

    honestly, the fastest solution will probably be to just delete and re-create each element which is throwing an error. you might be able to find another solution, but i doubt...

  • RE: Cursor variable losing data

    Cursors are evil things ... maybe something related to cursors is causing your problem

    Try this version instead:

    CREATE TABLE #TempDatabaseNames

    (

    ID INT IDENTITY,

    DatabaseName VARCHAR(250)

    )

    INSERT INTO #TempDatabaseNames (DatabaseName)

    SELECT DatabaseName

    FROM UserDatabasesToBackup

    JOIN sys.sysdatabases ON...

  • RE: Parent Child records in same output file

    A somewhat ugly and brute-force solution, but which would probably work for you, is to get the output exactly as you've posted, with the extra pipes at the end. Output...

  • RE: Need help getting the product of two sub queries Can Someone Help?

    EDIT ***

    I think I see your problem. You're not doing typecasts correctly.

    Both your numerator and denominator are integer values. Try it - SELECT 1 / 2 will result in a...

  • RE: VS_NEEDSNEWMETADATA error

    VS_NEEDSNEWMETADATA shows up when the underlying data behind one of the tasks changes. In your case, if the data that is being obtained from the database has changed, then your...

  • RE: Job failed when running in SQL server agent

    Yeah I really should remember to preface all suggestions that I post which involve xp_cmdshell with a comment like that. Sometimes I forget that the databases which I work with...

  • RE: Job failed when running in SQL server agent

    I find running the things from a script instead of the agent is a much more reliable way of getting the Encrypt things to work. Try this instead:

    EXEC xp_cmdshell 'dtexec...

Viewing 15 posts - 376 through 390 (of 699 total)