Forum Replies Created

Viewing 15 posts - 106 through 120 (of 121 total)

  • RE: Top 5

    How about using an Identity column. This will number your records sequentially. Then all you need do is select the records with an identity value between your first and last...


    I have found it is possible to please all of the people all of the time if you do exactly what they want. Harold Macmillan 1961

  • RE: Locking - Needing a few tips

    The first thing you should do is put your two database writes into a transaction. This will ensure that they will either both get committed or that both will be...


    I have found it is possible to please all of the people all of the time if you do exactly what they want. Harold Macmillan 1961

  • RE: Passing a recordset

    Check out ADO 2.6 there is a flag you can set on the recordset object(PersistXML from memory) which will return your recordset in XML. Neat huh?


    I have found it is possible to please all of the people all of the time if you do exactly what they want. Harold Macmillan 1961

  • RE: using foreign key constraints

    Don't rightly know is the answer. It'll depend on how detailed SQLSERVER is when returning the error to ADO. To be honest with you I tend to avoid cascading deletes...


    I have found it is possible to please all of the people all of the time if you do exactly what they want. Harold Macmillan 1961

  • RE: Passing a recordset

    I'd go with Andy. The Text-File/DTS load method would be my preffered route. XML's great particularly with handling complex data-set structures, but yours is simple.

    DTS gives you the oppurtunity to...


    I have found it is possible to please all of the people all of the time if you do exactly what they want. Harold Macmillan 1961

  • RE: using foreign key constraints

    OK The trick is in capturing the error and doing something with it. To do this I use a small footprint object to handle all database access. This has two...


    I have found it is possible to please all of the people all of the time if you do exactly what they want. Harold Macmillan 1961

  • RE: Passing a recordset

    This is an intriguing question. Could you elaborate on the thinking behind passing the recordset INTO a stored procedure.

    Where's the recordset coming from?

    What is the stored procedure...


    I have found it is possible to please all of the people all of the time if you do exactly what they want. Harold Macmillan 1961

  • RE: cursor elimination (performance improvement)

    This might be a dumb question, but on your table defs I can't see any indexes, you do have some don't you?

    Assuming you have indexes I notice you're using a...


    I have found it is possible to please all of the people all of the time if you do exactly what they want. Harold Macmillan 1961

  • RE: Web-Based Interface

    Steve is right VBSCRIPT and ASP will handle the database interaction OK

    But you will still need some HTML to present your pages to your users. You als need to...


    I have found it is possible to please all of the people all of the time if you do exactly what they want. Harold Macmillan 1961

  • RE: SQL Query

    Try This. I did it with two tables (tbl_new_1 and tbl_new_2) both containing columns for stock_id VARCHAR(10), description VARCHAR(20). Primary key on stock_id

    INSERT dbo.tbl_new_1(

    stock_id,

    description)

    SELECT...


    I have found it is possible to please all of the people all of the time if you do exactly what they want. Harold Macmillan 1961

  • RE: You just might be a DBA if.....

    You find yourself padlocked to your PC and you have and intraveneous Coffee-Drip (or perhaps Herbal Tea) inserted in your arm


    I have found it is possible to please all of the people all of the time if you do exactly what they want. Harold Macmillan 1961

  • RE: Conversion from Oracle 8.0

    You may find some interesting little challenges if your SP's use good ORACLE standards like %ROWTYPE and %TYPE. For example I've not found any equivilant of %ROWTYPE for Cursor handling...


    I have found it is possible to please all of the people all of the time if you do exactly what they want. Harold Macmillan 1961

  • RE: Programming Languages used with SQL Server

    YUP I use DELPHI 5 accessing SQLSWERVER through ADO (direct ADO TLB not ADO Express)

    Works uncommonly well! But I have to admit to being an MS person as well my...


    I have found it is possible to please all of the people all of the time if you do exactly what they want. Harold Macmillan 1961

  • RE: Trigger To Update Column On An Inserted Record

    Thank you Antares686. So Simple, So Elegant So.... SQL Server.

    The more I work with this product the more I like it. Yes there are things to curse at, but then...


    I have found it is possible to please all of the people all of the time if you do exactly what they want. Harold Macmillan 1961

  • RE: Trigger To Update Column On An Inserted Record

    The inserts we're interested in hit the db singly (not part of a batch input). As to the code well I tried just adding FOR INSERT, UPDATE and leaving the...


    I have found it is possible to please all of the people all of the time if you do exactly what they want. Harold Macmillan 1961

Viewing 15 posts - 106 through 120 (of 121 total)