Forum Replies Created

Viewing 15 posts - 5,161 through 5,175 (of 14,953 total)

  • RE: Error when inserting no data ?

    It has to do with the sequence in which SQL Server does things.

    First, it tests to make sure it can compile the code. Then it tests to make sure...

  • RE: Copying Database to Test server

    And the times it won't work out are times the plan is likely to change anyway.

    It's usually good enough to copy the database over to parallel hardware.

    The thing to avoid...

  • RE: To Get ERD

    I don't know that SSMS really does that. There are plenty of tools out there for it, but I don't think SSMS is one of them.

  • RE: Update in Access front-end of SQL back-end

    It's been a few years since I worked with Access-on-SQL (sounds like that should be the name of a village in England), but if I remember correctly, the key thing...

  • RE: From DBA / Dev to Management

    I did the opposite, in a way.

    Went from management/supervisor roles, into sales/marketing, and then into IT.

    The key thing to know in any management position is how to deal with communications...

  • RE: SQL statement problem

    The first step is to build a Select statement that will get all the ones you want to exclude directly or indirectly.

    select *

    from MyTable

    where ip = '1.1.1.1'

    or wordtexts = 'tokyo';

    Then...

  • RE: UPDATE using a self-join

    Stefan Krzywicki (2/1/2011)


    Brandie Tarvin (2/1/2011)


    CELKO (1/31/2011)


    Actually, INSERT and UPDATE are single table operations, while MERGE requires a source and target.

    I haven't moved up to SQL 2k8 yet, so haven't...

  • RE: reading image data

    You're welcome.

    I actually learned about that from an SQL injection technique that was in heavy use a few years back. Was hiding the SQL commands inside a binary string,...

  • RE: Dynamic Update

    npeters 86796 (1/31/2011)


    GSquared (1/31/2011)


    What defines an "empty target"?

    You're giving WAY too little data here to be able to help you on this.

    a "NULL" defines an empty target

    The way to find...

  • RE: Mirror Snapshot

    Snapshots are copies of the whole thing.

    Check data here for details: http://msdn.microsoft.com/en-us/library/ms187054(SQL.90).aspx

  • RE: Making a Phone number list with XmlPath('')

    Select from the parent table, and use an inline sub-query to get the phone numbers, using the For XML trick in that.

    select *, (select phone from MyPhones where Person =...

  • RE: Are the posted questions getting worse?

    GilaMonster (1/31/2011)


    WayneS (1/31/2011)


    So... what's your favorite data modeling tool?

    Pencil and paper (or marker and whiteboard).

    Ditto

  • RE: Programmatically load SSIS package?

    The usual way I do this in SSIS is with a For Each Next loop. You can either loop through the contents of a directory, or through the rows...

  • RE: SQL Naive query

    Start with:

    select *

    from sys.syslogins;

    That will give you a list of the logins.

    If you look that up in Books Online or on MSDN, it will have links to related items, which...

  • RE: reading image data

    I just tried this:

    DECLARE @XML XML = '<row ID="1" /><row ID="2" />', @Bin VARBINARY(MAX);

    SELECT @XML;

    SELECT @Bin = CAST(@XML AS VARBINARY(MAX));

    SELECT CAST(@Bin AS XML);

    From that, I tried this:

    CREATE TABLE dbo.DropMe (

    ID...

Viewing 15 posts - 5,161 through 5,175 (of 14,953 total)