Forum Replies Created

Viewing 15 posts - 586 through 600 (of 2,462 total)

  • RE: Date Range or last 6 months of data

    HOG (1/2/2013)


    Is it possible to run a query that uses a date range, but if the records do not have any data, to then go back six months before the...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: orphaned Users

    Rama Chandra Gowtham. Peddada (1/2/2013)


    Attaching and restoring databases from one server instance to another are common tasks executed by a DBA.If we move our database to another SQL Server instance...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: orphaned Users

    brangaraja (1/2/2013)


    hi can you please any one tell me what is exactly orphaned users and when will use this one and how to troubleshoot?

    For details see this link http://www.mssqltips.com/sqlservertip/1590/understanding-and-dealing-with-orphaned-users-in-a-sql-server-database/

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Job Activity Monitor view - but where are the In Progress jobs?

    4 years old thread

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Faster way to release the Unused Space back to Disk

    Mac1986 (1/2/2013)


    1) I see that Indexes have heavy fragmentation levels: This effects the DML Performance for sure, but will this allow the data file size to grow extra than...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Rename Database and Other Querys are Running on the same DB

    venkatesh.b 88975 (1/3/2013)


    While doing the 3rd step, In the other job the TEST DB is used by some procedure that job got failed.By change the job running times we can...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Stange memory and page file behaviour

    kyleheath33 (1/2/2013)


    Was the TempDB data file on that drive? A restart of SQL Server will rebuild the temp database so could have released space that way. Could also be an...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Turning raw data into a grid layout

    i tried it with PIVOT but its more resource intensive (as compared to other provided solution ) . can we avoid UNION here

    SELECT CompanyName, 'Low' as Type,

    [Sunday], [Monday],...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Memory management in sqlserver.

    see this

    --Bpool stats

    select (bpool_committed * 8192)/ (1024*1024) as bpool_committed_mb

    , (cast(bpool_commit_target as bigint) * 8192) / (1024*1024) as bpool_target_mb,

    (bpool_visible * 8192) / (1024*1024) as bpool_visible_mb

    from sys.dm_os_sys_info

    go

    -- Get me physical...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: I need help with my query. I found part of this, but doesn't work. Please help.

    tbmabry (1/2/2013)


    I tried this but it didn't work. I don't know what the emails are going to be they are from all over the U.S. There are over 4000 records...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Transaction Log file Deletion or movement?

    jitendra.te (1/2/2013)


    I have a Query Please help me out about this:

    Scenerio is, I have a database server which have a harddisk size is 70 GB c drives is occupied...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: How to calculate percentage from two queries?

    Mark-101232 (1/2/2013)


    To be honest, I'm not a big fan of text books, most of my learning has been on-the-job and by getting involved in sites such as this one.

    +1...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: sp_send_dbmail is not giving proper formate in txt attachement of SQL query output

    try with another paramter [ @body_format= ] = 'HTML '

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: shrinking database

    lathish2kumar (1/1/2013)


    please give answer to this question asap

    it seems that you went straightaway to apply this . to gain some space. and if thats the case then you might...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Could nested loops cause the growth in tempdb?

    If you go with the basic structure of HASH join then you will find that temp table get created (either in memory or tempdb) which might the cause of tempdb's...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

Viewing 15 posts - 586 through 600 (of 2,462 total)