Forum Replies Created

Viewing 15 posts - 10,681 through 10,695 (of 15,381 total)

  • RE: Tablesample

    Hugo Kornelis (9/19/2012)


    IgorMi (9/19/2012)


    Hugo Kornelis (9/19/2012)


    Nice question. I almost got it wrong, because I had first overlooked the TOP clause.

    However, the official correct answer is still a bit questionable. The...

  • RE: Datatype truncation

    ChrisM@Work (9/19/2012)


    Sean Lange (9/7/2012)


    ChrisM@Work (9/7/2012)


    sqlnaive (9/7/2012)


    For such kind of reasons we should avoid float and real datatypes ? And rather use decimal and numeric ?

    Have a look in BOL under...

  • RE: A Database with 70 Table

    vahid.arr (9/19/2012)


    Well Thanks to all this are the things that i have doubt about it.specialy number 4:

    1- i have table with 40 fields that it have 10 image Type field...

  • RE: Delete Constraint rule Set Default problem

    crux1187 (9/18/2012)


    Okey before I try it out I have a question regarding your answer. When you set the Delete Rule constraint to Set Default, the default value in the column...

  • RE: A Database with 70 Table

    That is not a large topic, it is more like I have lost a grain of sand somewhere in the Milky Way, how do I find it? There are hundreds...

  • RE: Csv list in column to separate columns

    Eliza (9/18/2012)


    Jeff Moden (9/17/2012)


    Eliza (9/17/2012)


    Hi all,

    Can I ask please if I have a row and one column has a csv list in it. Is there a way please to...

  • RE: Are the posted questions getting worse?

    Lynn Pettis (9/18/2012)


    SQLRNNR (9/18/2012)


    Lynn Pettis (9/18/2012)


    Flat file, 150,000 columns, SQL Server only allows 1,024 columns per table. The flat file needs to be imported into Excel spreadsheets.

    I'm not in...

  • RE: Saving query results to CSV file with query in job

    laurie-789651 (9/18/2012)


    It's not something as simple as...

    SELECT *

    INTO dbo.new_table_name

    FROM dbo.existing_table

    ... is it?

    That's pretty much what I am thinking.

  • RE: Calculating the total for the month

    ByronOne (9/18/2012)


    Thanks for all your help Sean - really appreciated....

    BO

    You are welcome. Hope that works for you. More importantly, do you understand what it is doing?

  • RE: FILTER

    Nice back to basics question. I am astounded that at the time of my posting there are 111 (14%) that answered this wrong. I can understand those that answered 3...

  • RE: Calculating the total for the month

    Something like this should get you started.

    select

    WeekEndDate,

    floor(((DATEDIFF(dd, dateadd(mm, datediff(mm, 0, WeekEndDate), 0), WeekEndDate) + 1) / 7.0) * SUM(PlanItemsSold)) as PlanItemsSold,

    floor(((DATEDIFF(dd, dateadd(mm, datediff(mm, 0, WeekEndDate), 0), WeekEndDate) + 1)...

  • RE: Delete Constraint rule Set Default problem

    crux1187 (9/17/2012)


    I apologize for the wrong format anyway I did my best to make my question clear. Pls refer to the items below:

    -- START

    USE student

    -- Create table for food category

    CREATE...

  • RE: T-SQL Help Needed

    ScottPletcher (9/17/2012)


    Do yahoo and other email provides allow expired and reclaimed email addresses to be re-cycled?

    If any of them did recycle one, and I got the same email address as...

  • RE: Combining multiple rows of data from the Source table into just one single row of data with additional columns in the Destination table

    Pretty sure you want a cross tab query for this. If at all possible this would be far more efficient in the front end. Take a look at the links...

  • RE: REstore DB from Enterprise to Standered

    AAKR (9/17/2012)


    Hi All,

    I am trying to restore enterprise database (compressed) on standered edition, but I am not.. 🙁 can you please tellme the process

    Thank you in Advance.

    Create backup.

    Restore backup.

Viewing 15 posts - 10,681 through 10,695 (of 15,381 total)