Forum Replies Created

Viewing 15 posts - 1,531 through 1,545 (of 2,008 total)

  • RE: SQL backup plan help

    The requirement:

    6.7 gigs of data and expected grows around 80 megs a year

  • RE: Last 5 rows

    Lowell (11/16/2011)


    i'm trying to think this through, does this sound right to everyone?

    SQL retrieves the data in what the query engine deems is the fastest way possible, and caches that...

  • RE: Last 5 rows

    Charmer (11/16/2011)


    yeah....:-)....just few seconds...

    Did it work as Expected?

  • RE: can I pass null to datatable variable in stored procedure

    I am just curious, if table variable is optional and not passed, how do someone find it?

    I can't test it but it should behave like Empty Table because Table Type...

  • RE: Can't figure out why the following T-SQL script doesn't work...

    Having said all that, you may wish to reconsider your use of bitmasks, since it breaks the rules of normalisation by storing more than one value in the same column,...

  • RE: Last 5 rows

    Charmer (11/16/2011)


    the worst part is i don't have any primary column on my table...so i am not able to get any records...

    First, why it is required?

    Second, if it helps you...

  • RE: Is this correct use of WITH (NOLOCK, READUNCOMMITTED) in delete?

    ashuthinks (11/16/2011)


    @gila yes sir...

    i knew that if i don't use NOLOCK i will definitely get a deadlock so for successful

    execution i need to use NOLOCK

    You are a victim of...

  • RE: DBCC Shrinkfile

    I guess you are trying to generalize the shrink operation for all database log file for some configurable number say 15%.

    It's not available as option by DBCC SHRINKFILE. But can...

  • RE: DBCC Shrinkfile

    It's possible with DBCC SHRINKDATABASE.

    DBCC SHRINKDATABASE

    ( database_name | database_id | 0

    [ , target_percent ]

    [ , { NOTRUNCATE...

  • RE: Can't figure out why the following T-SQL script doesn't work...

    Donald Bouchard (11/16/2011)


    The Bitwise OR is the entire reason for the logic! I am producing a bit flag of all the departments a customer has shopped at with each...

  • RE: Last 5 rows

    Charmer (11/16/2011)


    Hi Dev...did you check out with the query recommended by sumantaroy..?

    i see no records as output...

    I can't explain my pain. I am posting here in SSC & have no...

  • RE: Can't figure out why the following T-SQL script doesn't work...

    R.Mask | POWER(@Big2, D.Dept)

    Why are you using Bitwise OR here? Is it required for your logic? Remove it & verify the results.

  • RE: Last 5 rows

    yes....i understood now....Thanks Dev...

    Most Welcome 🙂

  • RE: Last 5 rows

    Charmer (11/16/2011)


    Random Order...!!!?

    but how come it gives same records every time when we execute the query..?

    it must change the order right?

    Fine.. Delete few rows & insert same rows again...

  • RE: Using Prowershell to install SP2 for sql server 2008

    Surely "no one" would run my command line without first editing the path first. Especially since this version is for 2005 and not 2008

    Are you sure? 😛

Viewing 15 posts - 1,531 through 1,545 (of 2,008 total)