Comment by Eric Larson on View permissions on specific Oracle object
No problem, man! Have a good night.
View ArticleComment by Eric Larson on Oracle 11.2.0.4 -- "sofar" increasing slowly in...
i.stack.imgur.com/MPnFB.png
View ArticleAnswer by Eric Larson for How do you remove a mirrored database SQL Server 2012
Did you remove the database mirroring through Management Studio yet? I think you have to do that first in order to drop the principal (I'm not positive though). Go into the database properties of the...
View ArticleSGA size not decreasing after reducing memory_target (Oracle 11.2.0.1)
I have an Oracle 11.2.0.1 database using dynamic memory allocation with parameter MEMORY_TARGET. When I decrease it with SCOPE=BOTH, the size of the SGA doesn't seem to decrease along with it. I have...
View ArticleDatabase Design (how to handle subclass & superclass)
I'm wondering what is the best approach to this type of problem (I'm a highschooler so don't have practical knowledge on the subject):Let's say I want to store information about employees at a zoo....
View ArticleOracle 11GR2 - When will datafile autoextend?
Let's say I have a single datafile, DF1. After DF1 becomes 50% full, I add a new datafile DF2 of equal size. Both datafiles have autoextend set to ON. When file DF1 becomes full (and therefore, DF2...
View ArticleOracle 11.2.0.4 -- sql_id not found in v$sql or v$session
I was looking in v$session_longops and found an operation currently being run and its corresponding SQL_IDSELECT sql_id, sid, to_char(start_time,'hh24:mi:ss') stime, time_remaining,message,(...
View ArticleWhat is the purpose of %ORACLE_HOME%/dbs directory in Windows Environment?
I see some files in there like an init.ora and opctrn11.h, but what is the purpose of this directory, if we use %ORACLE_HOME%/database to store the p/spfile instead?
View ArticleSSMS - How to Enable Word Wrap for Messages Pane
Sometimes I need to take screen shots of error messages in SQL Server. How can I turn on word wrap in the messages pane so I can capture all the text in the screen shot?
View ArticleFinding all users with access to a table in SQL server
Wondering if there is any script out there to extract a list of all database logins with access to a particular table, whether its given thru a view, database role, etc.
View ArticleWhat's the best method to refresh only a few tables within a test database...
I have a very large production database and a very large test environment database in SQL Server 2008R2. Both databases have similar table structure but different users/logins/permissions/roles.I need...
View ArticleOverloaded Constructor for SQL Server stored procedure?
I'm making a stored procedure and I want it to accept a different number of parameters and have different behavior based on the number of parameters supplied. So let's say if I supply one parameter...
View Article