Forum Replies Created

Viewing 15 posts - 2,056 through 2,070 (of 6,486 total)

  • RE: I think the Max Function is what I need

    I am not understanding the specifics of your query, not do I fully understand why you're doing this.

    that being said - you probably want to look up using the HAVING...

  • RE: SELECT * FROM field WHERE there are more than 6 characters

    Chip Smithson (1/13/2009)


    Another way to lose any leading or trailing spaces....

    select column from table where len(ltrim(rtrim(column))) > 6

    The rtrim isn't necessary since len will take care of that for you....

  • RE: clustered index hell

    It will help with introducing the ability to defragment the table. With NO clustered index, the only way to defrag a heap is to copy all of the data...

  • RE: SELECT * FROM field WHERE there are more than 6 characters

    As long as the "characters" being sought don't include blanks - I agree with Maxim.

    If you might be looking for trailing blanks - then concatenate a . and look for...

  • RE: Where 1 = 1

    Jeff Moden (1/12/2009)


    GSquared (1/12/2009)


    Agree with you on most points.

    I like the Inner Join syntax. Makes it easier for me to read (not for you, but it does for me)....

  • RE: Executing a Package from Visual Basic

    My first thought would be - what version of VB? in 2005 and 2008, MS got picky as to what feature you could get to depending on the version....

  • RE: Are the posted questions getting worse?

    Grant Fritchey (1/9/2009)


    Yeah, but "reflect in another block"?

    Try replacing "block" with Panel. And see if that makes more sense.

    Of course - that's purely my read.

  • RE: Are the posted questions getting worse?

    GilaMonster (1/9/2009)


    DavidB (1/9/2009)


    Maybe if you just post the link to the article about how to effectively post the OP will eventually get it. Maybe a bit like Tennis for while...

  • RE: Where 1 = 1

    GSquared (1/9/2009)


    I've seen requests to Microsoft to make having a Where clause on every query be required, with the solution to unrestricted queries that they could have something like "Where...

  • RE: Are the posted questions getting worse?

    Grant Fritchey (1/9/2009)


    Jack Corbett (1/9/2009)


    Grant Fritchey (1/9/2009)


    Jack Corbett (1/9/2009)Hey, that's why I've spent the last 2+ months in NH.

    Because my wife told you too?

    Every married man has a "She who...

  • RE: Where 1 = 1

    ramadesai108 (1/9/2009)


    Hi Matt,

    But how long does it take to type the word "WHERE" ? Im I missing something? The queries are as simple as:

    SELECT * FROM tblA...

  • RE: Insert Select with DEFAULT column

    Your error has nothing to do with the DEFAULT setting. It's more haing to do with the fact that your INSERT statements are now imbalanced. As in -...

  • RE: Where 1 = 1

    Looks like a debugging artifact left in place when deployed to prod. I resort to that in QA when I want to selectively test things that were previously disabled....

  • RE: SSIS a pain and Openrowset is disabled no access for linked...

    Assuming the incoming file format lends itself to it, you could go "old school" and use BCP. It's fairly easy to automate, so that you just have to feed...

  • RE: NULL Values for Numeric and date data type

    Can you validate that any of those values in the mFunerals(i) object are actually NULL? .NET seems to "hate" NULLs, so you tend to have to work extra hard...

Viewing 15 posts - 2,056 through 2,070 (of 6,486 total)