Forum Replies Created

Viewing 15 posts - 76 through 90 (of 101 total)

  • RE: Need example to execute stored procedure using script task.

    Hi Sharath,

    Thank you. I have tried with your code.

    cn.Open "DSN=BI_Database;UID=" & DTSGlobalVariables("gstrTargetLogin").Value & ";PWD=" & DTSGlobalVariables("gstrTargetPassword").Value

    Here "BI_Database" is data source. I'm able to open connection successfully when I use...

    KSB
    -----------------------------
    Thousands of candles can be lit from a single candle, and the life of the candle will not be shortened. Knowledge and happiness never decreases by being shared.” - Buddha

  • RE: Need example to execute stored procedure using script task.

    Hi Sharath,

    Thanks for your response. Yes I want to use Script Task. Can you provide me sample code.

    KSB
    -----------------------------
    Thousands of candles can be lit from a single candle, and the life of the candle will not be shortened. Knowledge and happiness never decreases by being shared.” - Buddha

  • RE: Error when running Execute SQL Task

    Hi,

    Thanks for your response. I have changed connection from ODBC to ADO.NET. Now it started working.

    KSB
    -----------------------------
    Thousands of candles can be lit from a single candle, and the life of the candle will not be shortened. Knowledge and happiness never decreases by being shared.” - Buddha

  • RE: DateTime Trick

    Interesting..:w00t:

    KSB
    -----------------------------
    Thousands of candles can be lit from a single candle, and the life of the candle will not be shortened. Knowledge and happiness never decreases by being shared.” - Buddha

  • RE: error in dts package while executing through jobs?????Need immediate reply

    Hi,

    check your data sources and linked servers once.

    KSB.

    KSB
    -----------------------------
    Thousands of candles can be lit from a single candle, and the life of the candle will not be shortened. Knowledge and happiness never decreases by being shared.” - Buddha

  • RE: Proxy Account

    If I executeEXEC xp_cmdshell 'dir *.exe';

    GO it is working fine.

    And if I execute BCP job I'm getting error.

    Thanks for reply

    KSB
    -----------------------------
    Thousands of candles can be lit from a single candle, and the life of the candle will not be shortened. Knowledge and happiness never decreases by being shared.” - Buddha

  • RE: Proxy Account

    I have tried this too..

    EXEC sp_configure 'show advanced options', 1

    GO

    RECONFIGURE

    GO

    EXEC sp_configure 'xp_cmdshell', 1

    GO

    RECONFIGURE

    GO

    exec sp_xp_cmdshell_proxy_account 'domain\user', 'password'

    Still getting same error.

    Thanks,

    KSB

    KSB
    -----------------------------
    Thousands of candles can be lit from a single candle, and the life of the candle will not be shortened. Knowledge and happiness never decreases by being shared.” - Buddha

  • RE: Proxy Account

    Thanks for reply.

    Try using GRANT EXECUTE on xp_cmdshell to [india\xg536]

    Executed fine but same results. Getting the following error [p]Error string: [Microsoft][ODBC SQL Server Driver][SQL Server]The EXECUTE permission was denied...

    KSB
    -----------------------------
    Thousands of candles can be lit from a single candle, and the life of the candle will not be shortened. Knowledge and happiness never decreases by being shared.” - Buddha

  • RE: character limitations on sp name, & function name

    Hi,

    Maximum length for stored procedures and functions name is 128.

    Always choose name as meaningful and as much as short.

    Thanks,

    KSB.

    KSB
    -----------------------------
    Thousands of candles can be lit from a single candle, and the life of the candle will not be shortened. Knowledge and happiness never decreases by being shared.” - Buddha

  • RE: Display columns as Rows

    Hi,

    You can use PIVOT. Check this link:

    http://msdn.microsoft.com/en-us/library/ms177410.aspx

    KSB.

    KSB
    -----------------------------
    Thousands of candles can be lit from a single candle, and the life of the candle will not be shortened. Knowledge and happiness never decreases by being shared.” - Buddha

  • RE: Reporting Services Color Property

    Hi,

    Keep the same in color property and change text box Expression as

    IIf(Fields!DocNumbr.Value)=NULL,"Invoice Not Raised",Fields!DocNumbr.Value)

    KSB.

    KSB
    -----------------------------
    Thousands of candles can be lit from a single candle, and the life of the candle will not be shortened. Knowledge and happiness never decreases by being shared.” - Buddha

  • RE: Error in SQL Job

    Hi,

    Check whether your servers are linked in Server Objects -> Linked Servers

    and also verify protocols TCP/IP and Named Pipes are enabled or not.

    KSB.

    KSB
    -----------------------------
    Thousands of candles can be lit from a single candle, and the life of the candle will not be shortened. Knowledge and happiness never decreases by being shared.” - Buddha

  • RE: problem with ROUND()

    Hi Lowell,

    Thanks for the resolution.

    KSB
    -----------------------------
    Thousands of candles can be lit from a single candle, and the life of the candle will not be shortened. Knowledge and happiness never decreases by being shared.” - Buddha

  • RE: problem with ROUND()

    Hi Lowell,

    Thanks for quick reply and it is working fine for decimal.

    What about for float..?

    Thanks.

    KSB
    -----------------------------
    Thousands of candles can be lit from a single candle, and the life of the candle will not be shortened. Knowledge and happiness never decreases by being shared.” - Buddha

  • RE: Need update query to update the same table

    Hi GSquared,

    Yeah, your query helped me. And now i have to update the same to the same table and need to delete the second row.

    Thanks.

    KSB
    -----------------------------
    Thousands of candles can be lit from a single candle, and the life of the candle will not be shortened. Knowledge and happiness never decreases by being shared.” - Buddha

Viewing 15 posts - 76 through 90 (of 101 total)