Viewing 15 posts - 1 through 15 (of 16 total)
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...
June 13, 2014 at 12:15 pm
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...
June 13, 2014 at 12:05 pm
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,...
June 13, 2014 at 12:03 pm
autoexcrement (2/25/2014)
February 25, 2014 at 11:35 am
Erland Sommarskog (2/5/2014)
I am not sure that I think it is a wise move...
February 5, 2014 at 1:32 pm
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...
February 5, 2014 at 12:18 pm
Great, Thanks.
November 28, 2013 at 6:25 pm
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
November 28, 2013 at 11:48 am
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...
August 23, 2013 at 1:18 pm
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...
August 23, 2013 at 1:09 pm
Message taken 🙂
Thanks to you all.
August 22, 2013 at 4:29 pm
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 ,...
June 3, 2011 at 7:34 am
and some companies know some people are not motivated by a %3 increase, but can be motivated by more intimate incentives.
May 20, 2011 at 8:18 am
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...
May 19, 2011 at 11:53 am
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...
May 19, 2011 at 9:26 am
Viewing 15 posts - 1 through 15 (of 16 total)