Forum Replies Created

Viewing 15 posts - 46 through 60 (of 86 total)

  • RE: dynamic sql- insert (error)

    Steve,

    I recreated the source table with the same destination datatypes... surprisingly i still get the same error..

    --Pra:-):-)--------------------------------------------------------------------------------

  • RE: dynamic sql- insert (error)

    Oh good to know... I will check on dat.. and get back...

    --Pra:-):-)--------------------------------------------------------------------------------

  • RE: dynamic sql- insert (error)

    Steven Willis (2/25/2013)


    BEGIN

    SET @sql = @sql +'INSERT INTO ' + @dbname + '.dbo.Organization (Last_Backup, Backupsize) select '

    -- The problem might be one of...

    --Pra:-):-)--------------------------------------------------------------------------------

  • RE: dynamic sql- insert (error)

    joeroshan (2/25/2013)


    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...

    --Pra:-):-)--------------------------------------------------------------------------------

  • RE: Datatype varchar(MAX)

    so what you say is, even if it doesn't show the result in SSMS when i try to exec the local variable it works???? Problem is only with displaying it...

    --Pra:-):-)--------------------------------------------------------------------------------

  • RE: SSIS Integration

    Ya I changed it in the very first step... But still getting the same error.. 🙁 🙁 🙁

    --Pra:-):-)--------------------------------------------------------------------------------

  • RE: How to match a UNICODE NULL character within an nVarchar(128) string?

    mrTexasFreedom (1/17/2013)


    Lowell,

    Sadly, this isn't matching any rows:

    select id, name

    FROM my_user_table

    WHERE CHARINDEX(name,CHAR(0),1) > 0

    No rows returned. Likewise, the replace operation doesn't touch any of the rows. Ideas?

    Thank you very much...

    --Pra:-):-)--------------------------------------------------------------------------------

  • RE: Unseen characters

    M sorry i mean 11 instead of 12... Sry for the confusion

    --Pra:-):-)--------------------------------------------------------------------------------

  • RE: Unseen characters

    Ahhh This works.... and you are a fantastic listener.. Thanks a ton

    select * from LOG_tblAddtest

    WHERE h1_Add LIKE '%' + CHAR(9) + '%'

    AND DioUniID = 207261;

    --Pra:-):-)--------------------------------------------------------------------------------

  • RE: Unseen characters

    select

    h_Address_1,

    N as Position,

    DioUniqueID,

    LogDate,

    SUBSTRING(h_Address_1,N,1) As TheChar,

    ASCII(SUBSTRING(h_Address_1,N,1)) TheAsciiCode

    from LOG_tblAddressBK

    CROSS APPLY (SELECT TOP 255 ROW_NUMBER() OVER (ORDER BY (SELECT...

    --Pra:-):-)--------------------------------------------------------------------------------

  • RE: Unseen characters

    Thankyou Again:)

    --Pra:-):-)--------------------------------------------------------------------------------

  • RE: Unseen characters

    Lowell,

    Thankyou for ur response.. It worked so well.. I just couldnt believe that my problem resolves in no tym... 🙂 Would you also help me Now if i want to...

    --Pra:-):-)--------------------------------------------------------------------------------

  • RE: SQL Server 2005 Replication between Disconnected Sites

    hey did u find any solution at all... its coz i have same scenario at my work place.. Two servers which are not connected and are remote but shd synchronize...

    --Pra:-):-)--------------------------------------------------------------------------------

  • RE: Replication(Transactional??)

    they are replicating a database... The main database is Michigan.. But they set up pull subscription from newyork... both the databases are remote... and the newyork people dont have access...

    --Pra:-):-)--------------------------------------------------------------------------------

  • RE: Database Management System - Question.

    Yep...dont forget to practise.. Install trail version of Sql server Mgmt studio and play around..Post any questions with your approach after trying them. dont post any questions without trying..dat helps...

    --Pra:-):-)--------------------------------------------------------------------------------

Viewing 15 posts - 46 through 60 (of 86 total)