Forum Replies Created

Viewing 15 posts - 2,251 through 2,265 (of 2,469 total)

  • RE: Key Fields

    ling ming - am addressing ONLY the error portion...

    "[MICROSOFT][ODBC SQL SERVER DRIVER][SQL SERVER]Violation of PRIMARY KEY constraints '..._PK'. Cannot insert duplicate key in object 'Table_name'"

    Somewhere a piece of code is...

  • RE: Nested Select Help

    You have 2 FROM statements...

    Don't know what this is:

    "FROM (Select tr.Id as TestRequestId, p.FirstName, p.FullAddressName, a.AddressLine1, a.AddressLine2, a.Town, a.PostCode, p.FullLegalName, h.Id AS HerdID, ttli.Name AS TestType,...

  • RE: Problem Trapping Alter Database Stmt

    The formatting's all off so your post is one long line...

    however, if you want to check if your code is successful then @@ERROR should return 0.

    If you have several statements...

  • RE: Programming

    sachin - as far as I know the only way you can preserve and display formatting is by using an image datatype.

    As Brendan points out - I tried using an...

  • RE: Key Fields

    Ling Ming - can you please describe briefly what you want to accomplish!

  • RE: Saying Good Bye

    WOW! It took a lot of courage to say and do what you did (last day - 10 minute window or not)...

    Unfortunately PeopleSoft doesn't seem to be very different from...

  • RE: Key Fields

    The first request for an ado function has been addressed in one of the other forums.

    The second one should be:

    UPDATE table1

    SET b1 = B.b1,

    c1 = B.c1,

    ...

  • RE: Replacing tags

    Vidya - I don't have time to analyze your problem but your syntax seems to be incorrect in the last line...

    try : SELECT @cTAGVALUEText = REPLACE(@ParaInd, '', '@' + @ParaValue)

  • RE: Important Things

    Steve - I sent you a personal msg through scc...everytime I try to send an email to anything@sqlservercentral.com it bounces back...

    fyi - the msg I sent you pertains to both...

  • RE: error trapping problem

    I'm not really sure I understand your question but can you not ensure that something is selected from the dropdown box when the user tries to enter "other data" -...

  • RE: Strange ODBC Errors

    Michael - I read on one of the sites that you can enable impromptu log in [Impromptu - Audit Configuration] and if it is a database connection error you will...

  • RE: Locating index key in MS SQL using ADO

    Ryan - I don't have the time to check the exact syntax but your editor should be able to help you along...here's something to get you started...

    Private Function KeyFields(strTable As...

  • RE: DateTime query

    It seems that you have a default constraint on that column. Remove the constraint and alter the column to accept Nulls.

  • RE: Strange ODBC Errors

    These may seem obvious - but are you using system dsn (as opposed to user) & are you referencing the dsn name in your connection string (& not the db...

Viewing 15 posts - 2,251 through 2,265 (of 2,469 total)