Forum Replies Created

Viewing 15 posts - 1,321 through 1,335 (of 3,232 total)

  • RE: XML to SQL table

    That's what I've done to generate the file as well.

    John Rowan

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

  • RE: WMI Query Data Reader connection string

    Yes, but it is not really related to WMI or this thread. Can you start a new thread with your question and use a specific example of what you...

    John Rowan

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

  • RE: CLEANING THE DATA IN A TABLE

    This will work as long as you always want to keep everything to the right of the first occurance of a space in the data:

    DECLARE @TABLE TABLE(RowValue varchar(20))

    INSERT INTO @Table

    SELECT...

    John Rowan

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

  • RE: Code To Return Highest Value (rank) not working - why ?

    DECLARE @Table TABLE (id3 int, email1 varchar(256))

    INSERT INTO @Table

    SELECT 454382, 'abc@hotmail.com' UNION ALL

    SELECT 612832, 'john@global.net' UNION ALL

    SELECT 612833, 'john@global.net' UNION ALL

    SELECT 612834, 'john@global.net'

    SELECT * FROM @Table

    SELECT MAX(id3) as id3,...

    John Rowan

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

  • RE: How to get row counts from script into job

    You can't get the SQL Agent to send you an e-mail that says tagcount=xx and tagcount=xx. You can, however, get SQL Agent to e-mail the script results as an...

    John Rowan

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

  • RE: How to get row counts from script into job

    OK, what is TAGCOUNT's? What have you tried? What problems/errors are you getting?

    Have you even attempted SQL_Locks suggestions? If so, what part are you stuck on, what...

    John Rowan

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

  • RE: Code To Return Highest Value (rank) not working - why ?

    How about some sample data to show that your code does not work?

    http://www.sqlservercentral.com/articles/Best+Practices/61537/

    John Rowan

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

  • RE: Sql query terminator(;)

    You've asked the same question 3 different times, 3 different ways and you've stated that it is urgent, but you have not told us what your problem is. Are...

    John Rowan

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

  • RE: How to get row counts from script into job

    Using SQL_Lock's advice, you'd need to configure your output to create a new output file for the step and create a second step to e-mail that file out as an...

    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

    Man, there's bunch of info out there on the web on this error. Did you attempt to research this yourself or just post it for others to do the...

    John Rowan

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

  • RE: How to get row counts from script into job

    You can't really pass row counts back to the SQL Agent from a script. You may want to consider logging your row counts (and any other data) into a...

    John Rowan

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

  • RE: The Worst Advice

    Michael Valentine Jones (7/10/2009)


    Here is a great story about a "Spreadsheetized" design where all the companies data was stored in a single table.

    Death by Delete

    http://thedailywtf.com/Articles/Death-by-Delete.aspx

    "...

    One day, a developer was optimizing...

    John Rowan

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

  • RE: The Worst Advice

    cs_troyk (7/10/2009)


    Michael Valentine Jones (7/10/2009)


    John Rowan (7/10/2009)


    cs_troyk (7/10/2009)


    "Denormalize for performance" and its sibling "You only need to normalize to 3NF".

    😉

    Ha! I'll have to second that one. Not just in...

    John Rowan

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

  • RE: datediff with numeric and datetime field

    Peso (7/10/2009)


    DECLARE@num NUMERIC(15, 0),

    @dt DATETIME

    SELECT@num = 20090616052600,

    @dt = '20090316 22:27:20'

    SELECTDATEDIFF(HOUR, '20090316 22:27:20', '20090616 05:26:00'),

    @num,

    @dt,

    DATEDIFF(HOUR, @dt, STUFF(LEFT(@num, 10), 9, 0 ,' ') + ':0')

    Yep, that'll do. I second Peso's solution....

    John Rowan

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

  • RE: The Worst Advice

    cs_troyk (7/10/2009)


    "Denormalize for performance" and its sibling "You only need to normalize to 3NF".

    😉

    Ha! I'll have to second that one. Not just in forums, but this one runs rampant...

    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,321 through 1,335 (of 3,232 total)