Forum Replies Created

Viewing 15 posts - 2,791 through 2,805 (of 2,837 total)

  • RE: Are the posted questions getting worse?

    Steve Jones - Editor (6/9/2010)


    Football? I know minicamps [/url]are going on, but we're over a month away from football 😛

    What do you mean? The playoffs are just about to start![/url]

  • RE: removing random characters

    Got it. I thought the bad characters were appearing both inbetween and outside. Sorry about that.

  • RE: removing random characters

    matt.parry (6/9/2010)


    Lowell - thank you very much that is perfect!

    Stefan - thanks for the post but I used the replace function and the characters where too inconsistent and on the...

  • RE: removing random characters

    There's a very simple way: Use the REPLACE function.

    For example

    SELECT REPLACE(REPLACE(SampleColumn, '*', ''), '-', '')

    FROM SampleTable

    [/Code]

    Just nest the REPLACE for each character you want to remove and replace it with...

  • RE: Are the posted questions getting worse?

    Gianluca Sartori (6/8/2010)


    Can anyone take a look at this one?

    I'm sure my solution sucks and I'm pretty sure the OP is lost and clueless.

    Your solution was fine, but the OP...

  • RE: Time Bomb Design - A Longer Fuse

    Consider the difference between

    SELECT E.EmployeeID, E.LastName, E.FirstName, D.DepartmentID, D.Department,

    P.Project, P.ProjectID, PD.ProjectDetailID, PD.ProjectDetail PD.Comments

    FROM Employee E

    INNER JOIN Department D

    ON E.DepartmentID = D.DepartmentID

    INER JOIN ProjectInterim PRI

    ON PRI.EmployeeID = E.EmployeeID

    INNER JOIN Project P

    ON...

  • RE: Time Bomb Design - A Longer Fuse

    David.Poole (6/8/2010)


    Self-documenting code is another thing that REALLY annoys me. When there are things like nDoc, JavaDoc, SQLDoc etc the idea that I have to check everything out of...

  • RE: A Design Question - To Use an Identity column or not

    meichner (6/8/2010)


    I am using SQL Server 2005. Your idea however was interesting. I didn't know about the sparse setting.

    Ah, sorry. Sadly, it is only available in 2008.

    In older...

  • RE: Time Bomb Design - A Longer Fuse

    Thomas-282729 (6/8/2010)


    Stefan Krzywicki (6/8/2010)


    While it may be "more logical", it isn't really within your power to ensure the developers code things your way. One of the main reasons for aliases...

  • RE: running totals

    I would suggest this article[/url] by Jeff Moden. It is one of the best solutions I've seen.

  • RE: A Design Question - To Use an Identity column or not

    meichner (6/7/2010)[hr

    Before I go about changing anything I just want to re state something so I can be sure of my design going forward. We are saying that its...

  • RE: Time Bomb Design - A Longer Fuse

    Thomas-282729 (6/7/2010)


    You must supply the table name/alias and therefore the context to understand their meaning. "CustomerName" on a table called "Customer" is redundant as we would reference the column as...

  • RE: Alter Table and Statistics Time

    Thanks! I've bookmarked it so I can rad it this weekend when I have the time.

  • RE: Splitting One Row Data into Two Rows

    Gopi Muluka (6/4/2010)


    Another assumption .. 🙂

    I think he need this

    Yeah, that could work if he doesn't want to use the TallyTable for some reason. Though from his examples, I think...

  • RE: Splitting One Row Data into Two Rows

    Raju The Leader (6/4/2010)


    we need to spilt the Varchar and Numeric data

    Is it always alpha then numeric? In the example you sent me, it was the other way around.

Viewing 15 posts - 2,791 through 2,805 (of 2,837 total)