Forum Replies Created

Viewing 15 posts - 1 through 15 (of 16 total)

  • RE: Inner Cursor Error

    Luis Cazares (6/13/2014)


    Kuzey (6/13/2014)


    Hello,

    You commented the parameters code. If you uncomment it, you need to use @dId instead of @aId on the third parameter for sp_executesql.

    When I run this;

    EXEC sp_executesql...

  • RE: Inner Cursor Error

    There are two types or databases in our systems; parent and child. This script is supposed to go through the parent databases first (as outer loop), pick up child db...

  • RE: Inner Cursor Error

    Eirikur Eiriksson (6/13/2014)


    Quick question and bear with me hear, but why do you need the cursor, the inner sql has no exec statement?

    😎

    SET @SQL='SELECT @aId, @dId, @dStatusId, d.DateCreated, d.DocumentSize, dah.ActivityId,...

  • RE: How to check missed schedules of custom scheduler?

    autoexcrement (2/25/2014)


    I may be stupid and just missing something obvious, but I don't see where you're storing dates at all. You're only storing time and day of the week. So...

  • RE: Multiple Schemas means Multiple Users?

    Erland Sommarskog (2/5/2014)


    So these 10 databases have the same set of tables, with each database serving a specific client?

    I am not sure that I think it is a wise move...

  • RE: Multiple Schemas means Multiple Users?

    The actual goal is to reduce the total number of databases. Each client has their own parent dbs + one db for each project. Schemas are identical, and one user...

  • RE: How to parse connection strings on a column in SQL Server 2008

    Found it.

    SELECT

    substring(substring(dbconnection,CHARINDEX('Database=',dbconnection)+9, LEN(dbconnection)),1,CHARINDEX(';',substring(dbconnection,CHARINDEX('Database=',dbconnection)+9, LEN(dbconnection)))-1)

    FROM Connections

    Thanks,

    Kuzey

  • RE: Failover 10,000 databases?

    mrdenny (8/23/2013)


    Probably as it would get databases off of the instance. The ability to do that would of course depend on the application design.

    The app design can change to...

  • RE: Failover 10,000 databases?

    Budget restrictions.

    The number of databases is not as important as their size and memory or CPU utilization. I would not be worried about having thousands of databases if the SQL...

  • RE: AlwaysOn for High Number of Databases?

    Message taken 🙂

    Thanks to you all.

  • RE: A Live Node

    At my first full-time job at a cell phone/network company gave me a cell phone in 1994. That was my first on-call. The excitement fade away very quickly realizing ,...

  • RE: The Three Percent Difference

    and some companies know some people are not motivated by a %3 increase, but can be motivated by more intimate incentives.

    http://www.bbc.co.uk/news/world-europe-13454160

  • RE: The Three Percent Difference

    I did not say "IS" but "CLOSE" to point out similarities, not differences. I do think, in general, employers get too much benefit of their employees. Employees stay because they...

  • RE: The Three Percent Difference

    I'd highly disagree here. It's rather insulting to make this comparison and it's more extreme than needed. You can easily leave your job in most any situation.

    We, employees, can't even...

Viewing 15 posts - 1 through 15 (of 16 total)