Forum Replies Created

Viewing 15 posts - 2,596 through 2,610 (of 14,953 total)

  • RE: how to know size from one specific table on my Sql database

    You're welcome.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Using recordset object variables in SET BASED operations: Possible?

    You have 400-million tables, or 400-million values that go into a single table? Or something in between?

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: SQL Results Table Manipulation

    A key question here is, are the regions reasonably static? You have Australia in there. How likely is that to go away, or be split in two, or...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Careful with your Smartphone

    Peter Schott (12/15/2011)


    Important part of Win7 security, which I did not mention in my initial post, is that you cannot install an app on the phone except from the MS...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: how to know size from one specific table on my Sql database

    Right-click the database in Management Studio, go to Reports -> Standard Reports -> Disk Use by Table. That'll give you the disk space used by each table, and the...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: OUTPUT Parameters

    What you're looking for isn't an output parameter.

    Output parameters look like this:

    create stored procedure dbo.Hello

    (@YourName_in varchar(100),

    @Hello_out varchar(100) OUTPUT)

    as

    set @Hello_out = 'Hello ' + @YourName_in;

    You assign a value to them in...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Rebuilding Indexes - Unexpected Results - Help Please

    I always skip the ones with low page counts, and usually skip the ones that don't have any range scans. Fragmentation doesn't really impact single-row seek performance, after all.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Rebuilding Indexes - Unexpected Results - Help Please

    What are the page counts on the indexes that don't defrag? (http://www.brentozar.com/archive/2009/02/index-fragmentation-findings-part-2-size-matters/)

    Edit: Trumped while looking for the reference!

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: try catch general advice

    valeryk2000 (12/15/2011)


    Thank you DA, TB & GS!

    The reason I asked is that in the past I had a problem with try/catch when parent proc did not catch the error in...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Is it possible to convert a field from "NVARCHAR" to "UTF-8" format in SQL Query itself. ?

    Not really. If you want to have the database store native UTF-8 strings, you need to store the binary represenation in a varbinary or binary datatype column.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: How to control the checkpoint?

    Ninja's_RGR'us (12/15/2011)


    Couldn't checkpoint be blocked by the single user mode? Not sure if that requires a second connection, but it sounds possible!

    Yes.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: How to control the checkpoint?

    Try this:

    CHECKPOINT 60;

    Issue that command from the database you are trying to shrink the log file for.

    Once that runs, run DBCC ShrinkFile on the log file you are trying to...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Save data from XLS,XLSX,CSV files to sqlserver2005

    engrshafiq4 (12/15/2011)


    yes i read xlsx file as xml and passed it to store procedure...i am getting another issue,which i asked here

    http://www.sqlservercentral.com/Forums/Topic1222331-338-1.aspx

    I already replied to that separately.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Are the posted questions getting worse?

    L' Eomot Inversé (12/15/2011)


    GSquared (12/14/2011)


    (Sorry. I consider English a toy. Periodically, I break it and need to get my parents to buy a new one. Or something...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: try catch general advice

    It depends on whether any of the sub-procs will ever be used independent of the parent proc, whether any of them have different error handling needs from others of them,...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

Viewing 15 posts - 2,596 through 2,610 (of 14,953 total)