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

  1. #1

    Default Re: Creating a View

    How about using fully qualified names? [Database].[owner].[object] should
    work...

    Jerry

    "Micheal" <frooyo@sbcglobal.net> wrote in message
    news:OOy09$FXDHA.1832@TK2MSFTNGP09.phx.gbl...
    > I have 2 databases within SQL Server 2000. What I want to do is create a
    > view in database A that references tables in database B. Is that possible
    > and how?
    >
    > Thanks in advance
    >
    >

    Jerry III Guest

  2. Similar Questions and Discussions

    1. View-View Event Processing
      I am not getting View to View Event processing to work. I have looked through most of the Flex 2 and Flex 3 docs plus several of the Flex books to...
    2. An example for creating a web custom control with full design view.
      Hi, I know I should use the ControlDesigner class if I want to implement design mode behavior for a composition based control. However, do you know...
    3. Creating a 'View'
      First, this is a SQL question, not asp.net question. Second, you need to use CASE, WHEN is just a part of that: CASE WHEN = 'ACTIVE' THEN ELSE...
    4. Standard View vs. Layout View
      view>table view joe "lilyeq" <webforumsuser@macromedia.com> wrote in message news:bfm6gt$qla$1@forums.macromedia.com... making tables. In...
    5. Wierd error when going to Design View from HTML view
      When I go from HTML view (in a webform) to Design View I get the following error: Could not open in Design view. Quote values differently inside a...
  3. #2

    Default Creating a View

    I am having a terrible time trying to create a view. Here is the sql
    string:

    $sql = "CREATE VIEW v AS SELECT * FROM t1;";

    Here is the error:

    You have an error in your SQL syntax; check the manual that corresponds
    to your MySQL server version for the right syntax to use near 'VIEW v
    AS SELECT * FROM t1' at line 1

    So simple, yet so vexing. Any thoughts? Thanks,

    -- whit nelson

    Whit Guest

  4. #3

    Default Re: Creating a View

    Whit wrote:
    > I am having a terrible time trying to create a view.
    Try this: "SELECT VERSION();"

    If it says you are using a version prior to 5.0, then views are not
    supported. Views are a new feature in 5.0.

    Regards,
    Bill K.
    Bill Karwin Guest

Posting Permissions

  • You may not post new threads
  • You may not 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