Forum Replies Created

Viewing 15 posts - 1,576 through 1,590 (of 3,232 total)

  • RE: Backup takes too long?

    You've probably hit the tipping point on one of the server's resoruces to where things start getting exponentially worse. You may consider monitoring the box during the backup to...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: SQL SERVER 2000 DTS or Script

    Here's a great example. This includes a comprehensive log-shipping solution, but you can pull out the full backup/restore pieces. I've implemented this at a place that has not...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: how to convert rows into columns

    Why can't you use the data as-is in your stored procedure?

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: table variable in a table-valued function

    In that case, you'll want to go with a multi-statement table valued function. Check in BOL for details, but here's a quick example.

    CREATE FUNCTION dbo.udf_functest(@ID int)

    RETURNS @ReturnTable TABLE (TranID...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: convert timestamp to varchar

    Have you tried CAST or CONVERT?

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: table variable in a table-valued function

    You don't need the table declaration section. The function itself is a table variable. Your function needs only to have the SELECT statement in it.

    CREATE function...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: A transport-level error has occurred when sending the request to the server

    Is there a question here?

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: @var = TOP(@var) in SQL 2000

    No problem.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Derived Table - does it hold tempdb memory

    So you're talking TempDB, not memory? Yes, restarting the service will shrink your TempDB back to it's original size, but I would only do that if you are out...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Restore with no backup

    Vika,

    I just want to stress how important it is not to do anything that may use the original data drive until you've taken a shot at recovering the deleleted...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Derived Table - does it hold tempdb memory

    All DML statements must first load the appropriate data pages into memory so using a derived table should not have an abnormal effect to your query. It needs to...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: @var = TOP(@var) in SQL 2000

    Yep, that's it. I should emphasize the importance of setting ROWCOUNT back to 0 (unlimiited) because if you don't, SQL Server will use the limit that you've set for...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: @var = TOP(@var) in SQL 2000

    Please don't cross-post.

    This thread is continued here:http://www.sqlservercentral.com/Forums/Topic564222-8-1.aspx

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: @var = TOP(@var) in SQL 2000

    TOP does not allow for a variable value in SQL Server 2000.

    You'll need to use SET ROWCOUNT:

    declare @mytable table (zipcode varchar(10))

    insert into @mytable

    select '68144' union all

    select '68132' union...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Error when returning results of Execute SQL Task component to a string variable

    A couple of quick querions:

    1. Are you using the for loop container or coding your own loop in a script task?

    2. What is the reason for the 2000 row batches,...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

Viewing 15 posts - 1,576 through 1,590 (of 3,232 total)