Forum Replies Created

Viewing 15 posts - 2,026 through 2,040 (of 13,877 total)

  • Reply To: Error while altering SP

    Without knowing more about dbo.[spAmount_V1], I can't do that.

    Please post the 'signature' of that proc. That is, the following bit

    CREATE PROCEDURE <procname> <parameters>

    AS

    In particular, you should have an OUTPUT parameter...


  • Reply To: Error while altering SP

    Stored procedures return results differently from functions. Here is an example proc and how to call it:

    CREATE PROCEDURE dbo.DuffProc @RetValue VARCHAR(50) OUTPUT
    AS
    BEGIN
    SET @RetValue...

  • Reply To: Insert data using view

    Try changing this part

    (SELECT BirthYear = n + 1921, Age = YEAR(GETDATE()) - n - 1921) calcs

    JOIN GroupInfo g

    ON calcs.Age

    BETWEEN g.StartAge AND g.EndAge

    ORDER BY Tally.n DESC;

    to this

    (SELECT...

  • Reply To: Insert data using view

    piu.scorpio wrote:

    Hi @SSC Guru

    I Just get a list of Distinct birth years from Customer table. So then based on that list I need to further calculate the other values


  • Reply To: Insert data using view

    As you have not provided any DDL or sample data, and your sample results do not appear to include a single reference to your customer data, I had to guess:


  • Reply To: Updating and Loading Data using SSIS

    I cannot not see any question here.


  • Reply To: How to Insert Column in and existing table

    OK, understood. Unfortunately, I do not have time today to help any further. If no one else answers in the meantime, I will try to get back to you in...


  • Reply To: SSIS Package loading CSV failing

    Are there embedded carriage returns in that file?

    Have you set a text qualifier? (")


  • Reply To: Invoking .dtsx file via Excel - different behavior

    As packages usually run within the context of an unattended process, message boxes within them should be avoided (unless developing or debugging).

    I notice you mentioned users running this. For them...


  • Reply To: How to Insert Column in and existing table

    Also, how is the value of ColumnType determined?


  • Reply To: How to Insert Column in and existing table

    OK, that helps.

    So you are looking for a routine which imports only the first row of a spreadsheet/CSV file, transposes that row of data into separate rows and adds them...

    • This reply was modified 5 years, 3 months ago by Phil Parkin.

  • Reply To: Invoking .dtsx file via Excel - different behavior

    How are you displaying the popup? You need to display it from Excel, not from within the package.

     


  • Reply To: How to Insert Column in and existing table

    The columns in the spreadsheet do not appear to correspond to the columns in your screenshot, making this a bit of a puzzle.

    Why not just hit 'TRANSPOSE' in the spreadsheet,...


  • Reply To: Send alert whenever a Field data type value is about to reach its maximum limit

    Rani wrote:

    How to setup a monitoring where it throw an alert whenever a field data type value is about to reach its maximum limit.

    Please give an example of what you...


  • Reply To: Text Was Truncated or One or More Characters Has No Match in the Target Code Pag

    I just played around with this scenario for an hour and I was unable to come up with a solution which works in all cases. Very irritating.

    Automating an export to...


  • Viewing 15 posts - 2,026 through 2,040 (of 13,877 total)