Forum Replies Created

Viewing 15 posts - 2,941 through 2,955 (of 3,957 total)

  • RE: Weird Installation Message

    Jeff Moden (8/27/2012)


    BWAAA-HAAAA!!!! In the truest sense, it is, in fact, homework. It's a privately owned laptop for home use that I'm setting up. Thought I'd warm...

  • RE: Weird Installation Message

    At least you didn't say your dog ate it. Then it would have sounded like a homework problem. 😛

    You're most welcome but all I did was try.

  • RE: Weird Installation Message

    Jeff Moden (8/27/2012)


    I'm not even sure they make 32 bit laptops anymore. It's a 64 bit machine (I5 processor).

    That's true enough and if the OS came pre-installed it is...

  • RE: Weird Installation Message

    You didn't say whether the OS is 32 bit or 64 bit, but the message says you can install SP1 after installing SQL 2008 to avoid the compatibility issues.

    This link...

  • RE: Make Sequential numbers into ranges

    This should work in SQL 2000:

    CREATE TABLE #Temp

    (TNID INT, TN VARCHAR(20))

    INSERT INTO #Temp

    SELECT 3011170, '4402787100'

    UNION ALL SELECT 3011170, '4402787101'

    UNION ALL SELECT 3011170, '4402787102'

    UNION ALL SELECT 3011170,...

  • RE: Weird Requirement... Multiple Left Joins? Am I missing something?

    You've given us expected results, which is a good thing. Some people like me visualize solutions most easily when this is provided.

    However you have not provided DDL for your...

  • RE: can any one tell me how to split the given @parameter data into three column of table?

    First, start with a better string splitter, like the one from Jeff Moden:

    http://www.sqlservercentral.com/articles/Tally+Table/72993/

    Then use cascading CROSS APPLYs, thusly:

    declare @parameter varchar (200)

    set @parameter ='1_2_3|4_5_6'

    SELECT ss=MAX(CASE c.itemnumber WHEN 1 THEN c.item...

  • RE: Import excel 2010 spreadsheet

    Koen Verbeeck (8/27/2012)


    I guess you are using SSIS?

    Take the 2007 option, normally it should work.

    Agreed. The .xlsx format in 2010 has not changed from 2007.

  • RE: syntax i need

    Koen Verbeeck (8/27/2012)


    That's because in SQL Server, we use set-based queries instead of cursors.

    Alas, this is wishful thinking. I wish everybody did. 🙂

  • RE: SQL Beginner

    shikhar_0511 (8/27/2012)


    could you explain the code that starts from

    SELECT c.Origin, c.Destination, c.Tonnage

    ,n=ROW_NUMBER() OVER...

  • RE: sql query prob

    Actually you can try this:

    select *

    from tablename

    where id IS NULL or RTRIM(ISNULL(name, '')) = '' OR sal IS NULL

  • RE: SQL Beginner

    shikhar_0511 (8/27/2012)


    Actually when i run this on wamp server it shows following error

    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your...

  • RE: SQL Beginner

    Or if your data is incomplete, as I have demonstrated by commenting out one of the set up rows, you can explode the CTE1 with a FULL OUTER JOIN to...

  • RE: SQL Beginner

    shikhar_0511 (8/26/2012)


    I am really sorry but this one is definitely the final problem

    here is the new defined problem(forget about the old one):

    I m working on something called the analysis...

  • RE: String concatenation

    No +1 for my performance improvements? :crying:

Viewing 15 posts - 2,941 through 2,955 (of 3,957 total)