Forum Replies Created

Viewing 15 posts - 1,711 through 1,725 (of 3,221 total)

  • RE: DBCC Commands

    ggjjbb1983

    From Books On Line - with some DBCC commands you can:

    CREATE TABLE #tracestatus (

    TraceFlag int,

    Status int,

    Global int,

    Session...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: append only unique records

    May I direct your attention to the Merge T-SQL statement, which appears to be the method you would choose to do what you want to do.

    http://technet.microsoft.com/en-us/library/bb510625.aspx

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Getting Dates

    PIVOT requires aggregation - read Jeff Moden article

    Will I write it for you - I respectfully decline for doing someone else work I am normally paid my consulting fee.

    Now,...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Getting Dates

    harag

    Read these 2 articles byJeff Moden:

    http://www.sqlservercentral.com/articles/T-SQL/63681/

    http://www.sqlservercentral.com/articles/Crosstab/65048/

    another article

    http://www.sqlservercentral.com/scripts/T-SQL/70819/

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Compare records

    Here is another way of doing what I think you want to do

    CREATE TABLE #T(UserName VARCHAR(10), ColumnA INT, ColumnB INT, DT DATETIME)

    INSERT INTO #T

    SELECT 'Tom',1000, 10,'2010-09-20' UNION ALL

    SELECT 'Tom', 1050,...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Fun with Transactions - Part IV

    Nice series of questions -- it will teach a great number of people a lot of what they should/need to know

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Dynamically change the occurrence of columns in a table

    sugsam

    To get a tested answer please post table definition, sample data, and what you have already done, following the methods listed in the article whose link is the first...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: migrating from sql 2000 to sql 2008

    bbsr

    Might I make a suggestion.

    1. Purchase the developer edition of SQL SERVER 2005 - Cost less than $50 USD.

    2. Restore a back up of your 2000 DBs to...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Maximum number of records in a table in SQL server Express edition

    With either or both of these procedure you could calculate the average size of each row (per table), estimate the number of rows that may be added to each table...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: How to get the earliest date in a continous order

    Max-498379

    I will post the code if anyone wants, I just don't have time now to read the "how to post a query" guide.

    Look you are in the window posting to...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Audit user & machine connected to sql server

    jfrancisco

    Finally I am trying to create this trigger but I am getting an error... I am working in SQL Server 2005 but really the trigger is going to be...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: I need some help with a test, please.

    Jeff remember this article?

    The "Numbers" or "Tally" Table: What it is and how it replaces a loop.

    By Jeff Moden, 2008/05/07

    Total article views: 41560 Views in the last 30 days:...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Deleted Values Insert into a new tables

    Please click on the first link in my signaure block and learn how to present data in a forum so that others may supply a tested answer.

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Audit user & machine connected to sql server

    machine name SELECT host_name()

    2.- The current time for that moment

    use GETDATE()

    Again learn how to use Books On Line the SQL Server help file

    It is readily available when...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Audit user & machine connected to sql server

    As a DBA you should have access to BOL (Books on Line) the help guide for SQL sever. Under Triggers you will find:

    Logon triggers fire stored procedures in...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

Viewing 15 posts - 1,711 through 1,725 (of 3,221 total)