Forum Replies Created

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

  • RE: Creating Integer Primary key value using the following query

    I'm not sure I see a question, and it seems like homework to me. You say you want 'continuous' id values, yet you also indicate users can delete records....

  • RE: SQLServerCentral apologizes and you can win a book

    Maybe this will be the time I win something useful...

    With Reasons (Respondent, Reason) AS

    (SELECT 'John', 'just because' UNION ALL

    SELECT 'Joe', 'why not?' UNION ALL

    SELECT 'Jane','need comode reading material'...

  • RE: Working with Strings

    Steve Jones - SSC Editor (9/5/2013)


    Strings are a pain in T-SQL.

    Steve, I must most humbly disagree. I find it is always fun to re-invent the wheel in just an...

  • RE: Help with Retrieving 1 Fax number

    Here is another way. And I'll caveat this by saying that I am in no way implying it is any better or worse than what has already been provided...

  • RE: Insert statment

    Sean Lange (5/17/2013)


    When you don't do this stuff all the time it is the easy things like that which can drive you nuts. 😉

    Indeed, I'm in my SQL Server just...

  • RE: linked tables

    it.web (5/15/2013)


    What I would now like to know is if there exists for SQL server a visual tool to help me build my queries like there is with the access...

  • RE: How to report period wise data ?

    dwain.c (3/5/2013)


    Jeff Moden doesn't call it that in his article, but here is where it is described: Group Islands of Contiguous Dates[/url]

    Ah yes, I do remember reading that now. ...

  • RE: How to report period wise data ?

    Well, Dwain, I was about to suggest the data should be stored with some sort of identifying element as to indicate whether or not the date indicates a leave or...

  • RE: Query Help

    Chuck112 (2/18/2013)


    My errors are syntax errors... from the code... it gives me the line and code... the only thing i hate is the fact that I have to go to...

  • RE: Query Help

    Chuck112 (2/17/2013)


    Thank you for the replies.. everyone... So if I want to see the code each and everytime I will have to drag and drop that file in to my...

  • RE: Query Help

    Chuck112 (2/17/2013)


    1. Old Website used SQL or MYSQL database.

    2. Exported database with phpmyadmin

    3. saved as a .sql file

    4. class project to create a database in 2008 SQL Server "Planned...

  • RE: All Possible Combinations Loop

    akberali67 (2/7/2013)


    I have tried SAS, R, MATLAB over the past month but I couldnt work it out.

    Akber, I don't mean to stick my nose in here, since it seems like...

  • RE: XML query

    Greg Snidow

    Mark, what is the purpose of the DENSE_RANK(), ROW_NUMBER(), and the CROSS APPLY? This is the fist time I've messed with XML, so it may be something simple.

    Okay,...

  • RE: XML query

    Well, looks like Mark beat me to it. Anyhow, this is kind of (I think) the same thing.

    DECLARE @xmlData XML

    SET @xmlData = ('

    <MatchKeys>

    <fuzzyKeys>

    <key...

  • RE: TSQL for Financial Settlements

    sridhar_kola

    if i need to know which invoice has an credit balance then is there any way in the CTE that we can mark it ?

    Do you really have customers...

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