Forum Replies Created

Viewing 15 posts - 4,246 through 4,260 (of 22,211 total)

  • RE: Migrating Data from SQL server 2012 to Data Warehouse

    That's a gigantically open-ended question. To answer it faithfully you have to know if we're changing the data as well as moving it. Are there transformations to the structure or...

  • RE: Sproc/view/function code parser

    There isn't a perfect way to get this done. I'd suggest looking at SQLCop[/url]. It does a decent, but not great, job at this. I don't know of a tool...

  • RE: Table valued fucntion or scalar valued function

    Assuming we're talking about an inline table function, that's the approach I would use. If you're looking at the multi-statement table valued function, I would caution against it.

    Be careful. You're...

  • RE: Maintain statistics on 1 TB Table

    I don't know if you're on 2008 or 2008R2, but if the latter, you should explore using traceflag 2371. It makes a huge difference for lots of people when dealing...

  • RE: How to find executed time

    I agree 100% with Gail. To do this accurately, you need to have monitoring in place.

    However, you could look to the Dynamic Management View, sys.dm_exec_query_stats. That does have the last...

  • RE: Indexes on Views - with UNION

    And since you have NOLOCK everywhere, it's worth pointing out that the use of NOLOCK can lead to missing or extra rows in your query. Be very cautious in how...

  • RE: Maintain statistics on 1 TB Table

    There are a bunch of people around here with that kind of experience. What's the question?

  • RE: Are the posted questions getting worse?

    Hugo Kornelis (11/3/2016)


    Grant Fritchey (11/3/2016)


    Steve Jones - SSC Editor (11/3/2016)


    Hugo Kornelis (11/2/2016)


    Hi Grant,

    Of course views are faster than stored procedures. And that cars are faster than laptops.

    Ah, laptops can be...

  • RE: Are the posted questions getting worse?

    Steve Jones - SSC Editor (11/3/2016)


    Hugo Kornelis (11/2/2016)


    Hi Grant,

    Of course views are faster than stored procedures. And that cars are faster than laptops.

    Ah, laptops can be just as fast as...

  • RE: Why would table identity value be incorrect?

    It's either someone reseeding or it's someone doing an identity_insert to your data. Neither is good, but both should be under your control.

  • RE: Using SQL Server Profiler 2012 with SQL 2014

    Yes, you should upgrade to SSMS 2014. Backwards compatibility is largely ensured within SSMS, so 2012 will work with 2008R2, 2008, 2005 and 2000. However, forward compatibility is absolutely not...

  • RE: Why would table identity value be incorrect?

    If by out of sync you mean that the numbers look like:

    1,2,3,17,18,19

    That can be from two causes. Either deletes, or, more likely, rollbacks. If an insert fails, the identity value...

  • RE: Suspect data in SQL tables

    If the database is passing a consistency check, then it's something in your apps that's doing that. It could be a trigger though. I'd check that too.

  • RE: WITH INDEX hint

    The question for me is, if that index really is superior, what was keeping the optimizer for choosing it. It does happen on occasion that the optimizer won't choose a...

  • RE: Are the posted questions getting worse?

    Ed Wagner (11/2/2016)


    Sorry, Grant. As much as you'd like to be hit, I don't think it's warranted. I agree with everything others have said, from the 5 microseconds...

Viewing 15 posts - 4,246 through 4,260 (of 22,211 total)