Forum Replies Created

Viewing 15 posts - 91 through 105 (of 497 total)

  • RE: More Memory

    Try this one: exec sp_configure 'show advanced options', 1

    go

    reconfigure

    exec sp_configure 'min server memory (MB)'

    GO

    exec sp_configure 'max server memory (MB)'

    GO



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: More Memory

    But I thought that you stated that you have a 64-bit SQL Server on a 64-bit OS? Argenis's blog doesn't apply to your situation unless I am wrong and you...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: How can I find a sql statement executed on a single table?

    Mark Eckeard (4/14/2014)


    It's worth noting that I'm not 100% sure it's imbedded sql. There's a chance it's a sproc. I would need to account for that possibility.

    Let's...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: More Memory

    First of all you don't need AWE on 64-bit server http://www.sqlskills.com/blogs/paul/a-sql-server-dba-myth-a-day-530-awe-must-be-enabled-on-64-bit-servers/. Second if you want it to take 7GB of memory then set the "min server memory" and it will...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: More Memory

    SQL only takes memory as it needs it. Right now the server only needs 3.8 GB of memory as it needs more it will take more. If you need it...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: How can I find a sql statement executed on a single table?

    You could use SQL Trace and put a filter on Text Data for the table name or you could use Extended Events and put a filter on the SQL Statement,...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Which is Better?

    Aaron Bertrand has a great article on this topic http://www.sqlperformance.com/2012/12/t-sql-queries/left-anti-semi-join



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Assigning Batchid to Cake Making Process

    Can you supply the desired output give the sample data that you provided? That way we are on the same page.



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: PagePID of DBCC IND('database','table',0)

    david.gugg (4/10/2014)


    Yes, PageType = 1.

    So if I'm understanding you correctly, when a table is first created the data is put into mixed extents. Once the data is big enough...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: How to concatenate the one column rows and sum the other columns

    I have created a sample table and some sample data for you (please do this in the future). I also added a StudentID since you will probably have something like...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: help on datediff

    Nita Reddy (4/10/2014)


    how do I pass day 16 in the code

    I'm not sure what you are trying to do now. Are you comparing the values between the two columns (which...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: PagePID of DBCC IND('database','table',0)

    When you create the object it will first get it's pages from a mixed extent after that you should be the PagePID return sequential order (for 8 pages) and then...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Assigning Batchid to Cake Making Process

    I would first consider creating an enumeration type table for the Action and using that instead of the name, i.e. 'BaseMaking' etc. Can you supply the desired outcome for the...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: help on datediff

    Try using CAST instead like so:drop table #datediff

    create table #DateDiff (

    Verdate char(10) null

    ,secdate date null)

    insert #DateDiff

    values ('20140101', '20140201')

    SELECT *

    FROM #DateDiff

    where datediff(DAY,cast(verdate as date), secdate) <...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: 1st Trigger Attempt

    I believe that it works, but it is not very efficient. It that is fine with you then problem solved. Otherwise you would want to use something like Lowell suggested...



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

Viewing 15 posts - 91 through 105 (of 497 total)