Forum Replies Created

Viewing 15 posts - 31 through 45 (of 74 total)

  • RE: Linked tables like in Access?

    And referring to an object in a database on the SAME server is as easy as:

    select stuff from databasename.objectowner.ojectname

     

  • RE: Table Ownership

    From the BOL entry on 'dbo', "any object created by any member of the sysadmin fixed server role belongs to dbo automatically". I would suggest that your connection to your...

  • RE: .net framework & SQL Server 2000

    .net framework is going to be part of Windows, soon enough. I believe that XP machines with Automatic Updates turned on will already have .net framework 1.1 on them. Installing it...

  • RE: Trigger and Bulk Update

    Having the trigger call an SP won't help, because the SP would still have to execute synchronously.

    I would suggest having the trigger set a value, or create a row, in...

  • RE: sql script for report

    I imagine you have been experimenting with various GROUP BY and HAVING clauses on the Date fields yes? Tricky business. What I would do here is to cheat a bit. I...

  • RE: Casting Date/Time as string, padding empty chars with 0.

    Tell you what Bill, you write a T-SQL UDF that implements VB's Format function, and I'm sure you will get a special prize

  • RE: Help With a query

    I like this method! My usual solution to such requirements is to use selfjoins or EXISTS subqueries, but I think in future, at least when doing quick-n-dirty stuff in QA,...

  • RE: how to read the hexadecimal value from sql server using C#

    >> I tried to read the database details using "SqldataReader", it says "System.Byte[]" for the "audiooriginaldata" column.

    That's because that's what an Image data type is - a sequence (array) of...

  • RE: Selects using LIKE

    Yes you can do this in pure SQL. Condition by condition:

    -- Only dash or dot, @, 0-9, a-z characters only.

    (myfield NOT LIKE...

  • RE: query join, two many-to-many relationships

    Here you want a member that has Activity code Coordinator and Business codes code1 AND code2. The way to do this is to LEFT JOIN to Business twice, in effect...

  • RE: Versions

    The recent series of articles at sqlservercentral.com about SQL Server change control might be of interest also

  • RE: UNION

    Are you saying that if there are no records meeting the Custid condition, then you want only 1 row in your resultset? If so, try this:

    select c from 
    ( select...
  • RE: Stored Procedures under .net

    Looking at your sample SQL calls, those are exactly what would you would expect from a pre-.NET application that didn't use stored procedures...

    I believe that changing your client data access...

  • RE: Performing Row-By-Row Data Corrections - Cursor or Loop?

    The broad heuristic is that if what you want to do can be done with set-based operations, do it with set-based operations; only use a cursor if you have to.

    Depending...

  • RE: Question of the Day for 09 Aug 2004

    I correclty guessed that the desired answer was Yes, however for me the question seems to break one of the cardinal rules of relational databases - there is no such...

Viewing 15 posts - 31 through 45 (of 74 total)