Problem with deleting views solved (sort of)

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Problem with deleting views solved (sort of)

    The problem with drop view is solved by not using stored procedures anymore.
    They where only used to limit the amount of records, but this can (in
    FireBird) be done more efficient with 'SELECT FIRST N ...'. So I rewrote the
    code and the problems where solved.

    I still do not understand the problem. The code used ADODB.Command to get a
    recordset. When the it was done with a view there was no problem. When it
    was done on a stored procedure there where problems.

    About the BeginTrans and CommitTrans that are used all the time. I am told
    that this is necessary in FireBird.

    About EmitError. This ends with Response.Redirect and Response.End. I still
    need an exit then?


    Cecil Westerhof Guest

  2. Similar Questions and Discussions

    1. IE problem with DIV/CSS, Firefox views fine
      I recently completed the following page for a client: http://www.nomoreart.co.uk/mycontactlens/css/main_layout.css Thanks Glen
    2. Problems with deleting views
      The application I have to maintain uses dynamical views. I have the following code: oOrgDbConn.BeginTrans DropStr = "DROP VIEW MV_22_"...
    3. Ado sort error-Ado Sort -Relate, Compute By, or Sort operations cannot be done on column(s) whose key length is unknown or exceeds 10 KB.
      Ado Sort -Relate, Compute By, or Sort operations cannot be done on column(s) whose key length is unknown or exceeds 10 KB. hi, guys i have asp...
    4. Query Optimizer Problem with Views in where Clause
      Hi! I am using Sql 7 SP3. I have noticed strange Query plan when using views. Here is the case: Table1 has Col1, Col2, Col3 .... etc. Col1 is...
    5. Views inside views, execution plan & external WHERE clause
      Here's my situation: Step 1: select * from employees where dept_no=1 and employee_no=1 ;
  3. #2

    Default Re: Problem with deleting views solved (sort of)

    Thanks Cecil

    Do you know how to do transactions with ASP/Access?

    Rgds

    Laphan

    "Cecil Westerhof" <someone@microsoft.com> wrote in message
    news:%23PdcC4PMEHA.3712@TK2MSFTNGP11.phx.gbl...
    The problem with drop view is solved by not using stored procedures anymore.
    They where only used to limit the amount of records, but this can (in
    FireBird) be done more efficient with 'SELECT FIRST N ...'. So I rewrote the
    code and the problems where solved.

    I still do not understand the problem. The code used ADODB.Command to get a
    recordset. When the it was done with a view there was no problem. When it
    was done on a stored procedure there where problems.

    About the BeginTrans and CommitTrans that are used all the time. I am told
    that this is necessary in FireBird.

    About EmitError. This ends with Response.Redirect and Response.End. I still
    need an exit then?



    Astra Guest

  4. #3

    Default Re: Problem with deleting views solved (sort of)

    > Do you know how to do transactions with ASP/Access?

    Is not an option. As I understand it Access can not be used with multiple
    users. But more important: the database I have to work with is FireBird.

    But I found a way round it. I do not understand what was happening. But this
    is also not very important. I do not think I will write myself dynamic
    stored procedures.


    Cecil Westerhof Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139