Forum Replies Created

Viewing 15 posts - 21,526 through 21,540 (of 22,184 total)

  • RE: October Energy Update

    Should I tape a full two-hours?

    That'd be slightly more interesting than the yule log on TV.

  • RE: October Energy Update

    Up in the Peoples Republic of Massachusetts we don't worry too much about cooling the house, but this GeoThermal heating sounds a heck of a lot better than the two...

  • RE: Sql view very very slow the first run and then super fast... why?

    I'll hazard a wild guess and suggest... compile time. That's one large plan. You can test this by going to a non-production server, run the view to get it to...

  • RE: Stored Procedure for Joins tables and Data Transformation

    SELECT *

    FROM Table1

    JOIN Table2

    ON Table1.Key = Table2.Key

    JOIN Table3

    ON Table1.Key = Table3.Key

    This assumes that the PK on Table1 matches an FK on Table2 & Table3. Either way, you can then use...

  • RE: T-SQL splitting a column

    day (11/1/2007)


    Now, I need also [Balance] field in the view. Since [AmountIn] and [AmountOut] are not a physical fields, I cannot do something like this:

    Can anyone help me with this?

    SELECT...

  • RE: Intermittent delays in the excution of queries

    kev_byrne (11/2/2007)


    On the second server, where the database is the same in structure and programming, there is no problem at all.

    The SQL when run directly against the DB, on the...

  • RE: Sample every nth record

    This is unlikely to run very fast, 43 seconds on my machine against 54 million rows, but it'll work.

    WITH x AS (SELECT b.[ID]

    ,b.[Date]

    ,b.[Value]

    ,ROW_NUMBER() OVER(ORDER BY b.[ID]) AS RowNum

    FROM [BigTable] b

    )

    SELECT...

  • RE: Insert into #tempTable exec sp_executesql

    Johannes Fourie (11/2/2007)


    Another option is to create an index on the temp table that you want to use for sorting before inserting into it.

    Then remove the ORDER BY in the...

  • RE: Metadata Structure / Design Issues

    Thinking about it more, you should be able to get reasonable performance, even pivoting the data, assuming the indexes are clean, especially the clustered indexes. How did you set those...

  • RE: Metadata Structure / Design Issues

    Unfortunately, I'm going out of town for a week, but posting a bit of code could help someone else to help you.

    Based on the requirements... 30 fields each 100 characters...

  • RE: XQuery vs. OPENXML

    Bump.

    Surely someone has a comment?

  • RE: Backup Strategies & VLDBs - What am I missing?

    The one time I did manage a VLDB, we sure has heck ran the log backups more frequently than once a day, but then it was an OLTP system. I'm...

  • RE: TSQL by Duration (Response Time)

    Bob Fazio (11/1/2007)[hrComplaints come from many sources. A stable system is a good goal too. Performance is also a goal. If you haven't noticed before a high...

  • RE: XQuery vs. OPENXML

    Please, a syntax check on the XQuery. It's my first time out of the gate with this and I'm not sure I'm avoiding stupidity successfully.

  • RE: Metadata Structure / Design Issues

    Neither full text or xml has me terribly excited. If it were my project, I'd be reexamining the assumptions and trying to find a method of defining the requirements more...

Viewing 15 posts - 21,526 through 21,540 (of 22,184 total)