Forum Replies Created

Viewing 15 posts - 6,991 through 7,005 (of 49,552 total)

  • RE: Problem inserting return from stored procedure into a table

    If it worked previously, then you weren't trying to nest INSERT ... EXEC as they cannot be nested under any circumstances. You're going to have to figure out an alternative...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Initialize sp parameter using a select statement

    John Mitchell-245523 (12/20/2014)


    You could put some control flow in your procedure, so that if a value for @top is passed, it used, but if it's null, the query is executed...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Manually "refreshing" subscriber database in transactional replication

    You can invalidate the subscription and re-snapshot, but I don't think that's what you want.

    Easiest thing here would probably to put a delay in the export process. Transactional replication inherently...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Best scenario for high DB availability

    Why don't you focus on the problem rather than adding more complexity?

    Your problem is slow recovery on restart. If you're not careful, adding HA could make things worse. Do some...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Error when altering steps from job in SQL 2008

    HanShi (12/22/2014)


    When connected to the proper SQL instance, execute "SELECT @@VERSION" in a (new) query window. The result will show you the edition of SQL Server and also states information...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Problem inserting return from stored procedure into a table

    Well, there you have it. INSERT .. EXEC cannot be nested.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: SQL Policy failing for no apparent reason!?

    simon.letts (12/22/2014)


    Hi, I have the 'data and backup location on separate drives' policy failing on just one server, although there are no .bak or .trn files on the drive where...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: CHECK DB on SQL 2008 and SQL 2005

    Have you checked that the job is doing what it's supposed to do? If say someone changed it to just run CheckDB on master, then it will execute with success,...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Problem inserting return from stored procedure into a table

    Look at what conditions would cause the RAISERROR line to be executed.

    Open up the proc, go to line 724 and work out, from the code, what it does and what...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: When Creating Tables, Is a RecID Column necessary?

    No.

    If any developer came to me with tables with a generic 'RecordID', they'd be changing their design. Unless the table was the Records table.

    You need a primary key. It is...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: delete user of db in sql server

    If that login is the owner of a database, you won't be able to remove it. First change the owner of the database to another login, then try again.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: SQL Bug!

    Just wow.

    I'm sure said engineer can point at the kb articles and/or connect items detailing said bug? Didn't think so.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    jasona.work (12/19/2014)


    (I think some of the L2 and L1 cache, various other bits and bobs)

    Each core has it's own L1, at least with the Intel processors. L2 is 'shared' (kinda,...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    No, a core is a measure of cores. The number of processing cores on a single physical processor.

    My desktop at home has an Intel i7 quad-core processor. If I look...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    Per processor is the old SQL 2008 and before licensing. Two physical processors - two processor licenses. Done.

    Per core is SQL 2012 and later licensing. Two quad core processors -...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 6,991 through 7,005 (of 49,552 total)