Forum Replies Created

Viewing 15 posts - 2,581 through 2,595 (of 3,232 total)

  • RE: bulk insert question

    I don't believe that it does.  Just curious though, who told you not to use bcp and why?

    John Rowan

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

  • RE: INSERT & UPDATE not working all of sudden

    Please do not cross-post.

     

    http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=23&messageid=318391

    John Rowan

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

  • RE: Urgent Help on Accidental Row Deletion

    I've used Lumigent's Log Explorer (trial version) on a user database.  You should be able to get yourself a free trial. 

    John Rowan

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

  • RE: INSERT & UPDATE not working all of sudden

    Are you using multiple database files/filegroups for your database?  Is your DB set to autogrow?  Can you update/insert into some tables but not others?

    John Rowan

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

  • RE: Urgent Help on Accidental Row Deletion

    The only way to do this, outside of a restore, would be if you have some sort of transaction log reader tool.  There are a few tools like this out...

    John Rowan

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

  • RE: How do the cursors work?

    Just because you've decided not to go the cursor route does not necessarily mean that you need to use a table variable or temp table.  Odds are, there's a set...

    John Rowan

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

  • RE: count distinct record with join

    I noticed that you've updated your initial post with a query using derived tables.  That is how I would have done it also.  If this is giving you the correct...

    John Rowan

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

  • RE: count distinct record with join

    Right, I kind of got that part, but how do you know if they have not completed training?  A record in the log without a training date?

    John Rowan

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

  • RE: count distinct record with join

    What tells you whether the training has been completed or not?

    John Rowan

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

  • RE: is possible to do a dynamic query to a var table or temporal table ??

    From what you've shown, there is still no reason why this needs to be dynamic.  Why can't you simply use the query SELECT @ok = 'true' FROM @MyVariableTable WHERE .....?

    John Rowan

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

  • RE: is possible to do a dynamic query to a var table or temporal table ??

    Again, can you give a little more info on what you are trying to accomplish?  Why do you think you need to use Dynamic SQL?

    John Rowan

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

  • RE: is possible to do a dynamic query to a var table or temporal table ??

    You can't pass the table variable, you must include the entire DECLARE @table table....INSERT INTO @table.... code into sp_executeSQL so that the scope of the table variable declaration is withing...

    John Rowan

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

  • RE: is possible to do a dynamic query to a var table or temporal table ??

    It is kind of difficult to give you a good example of this when I really do not know what you are trying to accomplish.  Can you give us more...

    John Rowan

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

  • RE: is possible to do a dynamic query to a var table or temporal table ??

    Then you must declare and populate your table variable within the scope of the dynamic sql call using sp_executeSQL and parameters.  Look up sp_ExecuteSQL in BOL.

    John Rowan

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

  • RE: Text Field

    Consider this example:

    declare @table table (T1 text)

    insert into @table (T1)

    select 'test' + char(13) + ' test2'

    select * from @table

    In order to 'see' the results on two lines, you must view...

    John Rowan

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

Viewing 15 posts - 2,581 through 2,595 (of 3,232 total)