Forum Replies Created

Viewing 15 posts - 5,701 through 5,715 (of 7,636 total)

  • RE: Managing/Loading Large Amounts of Data

    grtn316 (8/28/2008)


    But if the rows were wider and there were less tables involved, I would lower required disk space but I would be sacrificing performance? Correct?

    No. The issue is...

  • RE: Managing/Loading Large Amounts of Data

    Cliff notes: Is it complicated/impossible to load 80gig files with 8 columns of float(decimal) data into SQL Server?

    That depends almost entirely on the nature, structure and format of the file....

  • RE: BCP out 41 tables

    There are 586 tables listed in your Excel file. Which are the 30 that you want to move?

  • RE: Drop users owning views

    I am not sure that I would want to retain the personal Views of expired or departed users. If they have production value they should not have been personally...

  • RE: Excel Result Vs DB Result

    I am just saying, I do not see where a Tally table comes in? The query that I already posted works fine without it. And I am not...

  • RE: Drop users owning views

    OK, first execute this command (you have to edit it for your excluded user names)

    Select U.Name as [Owner], U.TYPE_DESC as [OwnerType], S.Name as [SchemaName], O.*

    From sys.objects o

    ...

  • RE: InnerJoning two tables statements

    Well, maybe try this:

    SELECT Albums.AlbumID, Albums.AlbumName, Albums.PostedDate, Albums.Views, Resimler.ResimId, Resimler.AlbumID AS Expr1,

    ...

  • RE: Excel Result Vs DB Result

    Hmmm, I can't see it either Sergiy. Unless you mean with Dynamic SQL?

  • RE: delete repeated rows

    OK, I think I see part of the problem: I misunderstood the role of the second column: you just want to eliminate all duplicates.

    Easy enough:

    Select Distinct *

    Into #TempFATHAR

    ...

  • RE: delete repeated rows

    yaman bas (8/28/2008)


    no it's working wrong,

    Delete From FATHAR

    Where EXISTS( Select * from FATHAR T2

    Where FATHAR.FATHARREFNO = T2.FATHARREFNO

    ...

  • RE: swap data between 3 fields?

    You want it to look like this:

    UPDATE @mytable

    SET

    Field1 = CASE Field1 WHEN 'Jim' THEN 'Dave' WHEN 'Dave' THEN 'Jim' ELSE...

  • RE: Restore with no backup

    Vika (8/28/2008)


    I thought that db and logs are just files. When files are deleted they go to the Recycle Bin. Maybe it's a crazy idea, but would it be possible...

  • RE: delete repeated rows

    Glad we could help.

  • RE: Conditional rollback of transaction

    @@TRANCOUNT will tell you if you have an open transaction (and how many).

  • RE: delete repeated rows

    Ok, my bad. Here is the corrected version for SQL 2000:

    Delete From YourTable

    Where EXISTS( Select * from YourTable T2

    Where...

Viewing 15 posts - 5,701 through 5,715 (of 7,636 total)