View's,Function's,Procedures,etc
I have inherited a database full of view's functions etc,etc. How ill i be able to determine when a object was last invoked and by what. This will help me determine what is not used.
View ArticleHow can I create a view with parameters?
I have a sales data view which returns the data from a transaction table as well as the items that are related to those transactions:SELECT [items].[Type], [items].[Value], [items].[Name],...
View ArticleWhere Used - SQL Server 2005
In SAP, there is an option called "Where Used" that when clicked on will show all procedures, applications, programs, tables, etc. where a selected object is used. Is there an equivalent to this in SQL...
View Articleobject_id mismatch and ssms
In sys.objects I found the object_id for the name 'adhoc_spDailyAccession_inf' a stored procedure. When I look in sql_modules or syscomments using this object_id I see the code for a different stored...
View ArticleNeed to update production Database
I have a table in my development database and I need to copy it to the production database. How do I do this?
View ArticleCannot Connect to any Db's, with MS SSMS
I am running Windowa XP, and I am trying to connect to any dataabase with ms sql server express, I know this is probably a newbee question, but I am a newbee kinda guy. When I try to connect I get the...
View Articlecannot execute function/stored procedure but can see it
Developer can see a function and store procedure but cannot execute. Any suggestion on how to fix? The developer group they are a member of has the RWX permissions on the database and the two objects....
View ArticleSQL Policy to enforce object naming standards across User Databases
Apologies in advance if this is a stupid question as I am new to SQL Server Policy Management but here goes: - I am trying to set up a policy that will enforce object naming standards across all user...
View Articlehow to generate database objects script automatically?
Hi all, I have one deal in my job to generate scripts for all objects such as tables. views, sp's,triggers, functions and all related keys without data in database. I know manual process from sql...
View ArticleDocumenting the database and the manual processes in between
Hi Recently started at a company where lots of the processes are manual interactions with the database. Lots of these things can be automated but before I do I would like to document the existing...
View Articleuser in group adds himself as a user to database
Hi All, Sorry to bother but I have quite a strange situation. I have a member of our dev group (domain\devgroup) who is not mapped as a login on server level nor as a user in any database but everytime...
View Articleproblem with implicit schema creation
Hi All, I have a small problem with implicit schema creation. I have several members in my dev team that are member of a group (domain\devgroup). The problem is that all of these group member but one...
View ArticleMS SQL Server- Consolidating multiple database objects into one database
Hi all, I would like to consolidate my 5 databases into one database, here, I would like to load all my database objects with data. Can anyone help me the best and easiest approach to consolidate? and...
View ArticleSet result of select query to variable in sql plus
I have a select query in sqlplusselect trim(status) from AML.amletl_load_status where mov_date in(select max(mov_date) mov_date from AML.amletl_load_status);Then i want to set result return as variable...
View Article