Forum Replies Created

Viewing 15 posts - 16 through 30 (of 52 total)

  • RE: INSERT INTO

    Not sure how I got the old version of the Question with the second set of PKs being 1, 1, 1, after Steve made the changes but I also had...

  • RE: Unary & Aliases

    Ah yes, my "favorite" bit of SQL syntax

    select 0 [A]

    A fun bug to find when I accidentally delete a comma and then try to figure out what's wrong with...

  • RE: Forum Etiquette: How to post data/code on a forum to get the best help

    Never mind advice on forum posting, excellent though it is. I bookmarked this article as "Export table contents into flat file."

    Next thing I'll do is write a query to...

  • RE: Stairway to SQL Server Indexes: Step 1, Introduction to Indexes

    Excellent writeup.

    Like others who posted here, I have worked with indexes for a long time, and I can't say that I actually learned something new at Level 1, but this...

  • RE: system stored procecures

    ronmoses (8/23/2011)


    Silly me, assuming the blatantly obvious answer couldn't possibly be correct.

    ron

    😀 That nearly got me, too!

    Very good question, especially since it highlights that the BOL don't necessarily mean...

  • RE: Problem with linked servers in sql 2005

    I'm not sure if this board leans toward opening new topics or pulling up old ones, but I wanted to share a really bizarre experience related to this issue.

    I am...

  • RE: More fun with ISNUMERIC()

    Toreador (7/7/2010)


    that's the bit I can't understand. Does the same not apply to

    isnumeric('1.234,56')

    yet this returns 1?

    I wonder if it's because ISNUMERIC disregards the position of the comma? For instance,

    isnumeric('123,45.7')

    returns...

  • RE: Import column list mapping for flat file source

    lmu92 (4/22/2010)


    Did you consider using bcp with a format file based on your word doc definitions?

    Sounds like the easier option...

    Ah! No, haven't thought of that, thank you. It does look...

  • RE: Import column list mapping for flat file source

    Thanks, Elliott! I don't need to change the mappings at run time. I just want to import them from outside the SSIS designer, so I don't have to tediously type...

  • RE: xp_dirtree works in SQL 2000 but not 2005

    Yes, xp_dirtree worked on local folder in 2005.

    Anyway, mystery is solved, kinda. I found today that all SQL Server services are stopped. :crazy: This is a new server, and...

  • RE: Help in writing sql

    This seems to work:

    SELECT F.ColA

    FROM To_upd T join From_upd F on charindex(T.ColA, F.Col_02) > 0

    WHERE F.Col_01 = '2'

  • RE: not like?

    john.arnott (3/23/2009)


    What's happening here is that comparisons with NULL always return "false". Not even NULL compares true to NULL. So, even though NULL (row 4) doesn't contain string "del",...

  • RE: Restoring SUSPECT database _from backup_

    Great article, thanks!

  • RE: Restoring SUSPECT database _from backup_

    Thank you, Krishna.

    Gila, that's what I thought, but then the panic struck.

    I ended up just running a restore command. Luckily, one of the two "suspect" databases is repopulated daily...

  • RE: Complicated Comments

    I got it right, but now I realize it was almost by accident.

    Irish Flyer (2/11/2009)


    Given the inconsistancies noted, I guess it brings home the point that one should be...

Viewing 15 posts - 16 through 30 (of 52 total)