Viewing 15 posts - 4,756 through 4,770 (of 13,460 total)
neellotus07 (9/12/2012)
Your query showing tables of any view, but if view contains another view then it is not showing name of that view.
Can u help me in this regard.
Thanx...
Lowell
September 12, 2012 at 5:34 am
probably the easiest way is to use the Scripting wizard in SSMS;
right click on the database in question, Choose "Tasks", then "Generate Scripts"
follow the wizard prompts;
you might need to go...
Lowell
September 11, 2012 at 9:47 am
f9c882q 61644 (9/10/2012)
Does a report user need to have read and write access to a tbale or stored procedure in oder to run a report with CTE?
the CTE doesn't matter,...
Lowell
September 10, 2012 at 2:58 pm
johnnyrmtl (9/10/2012)
Thanks for that and it does indeed work on a sole database at a time.I would need it to run from master and get all databases
you would jsut wrap...
Lowell
September 10, 2012 at 11:21 am
raj_melvin (9/10/2012)
but I am unable to capture the required informations like " Hostname" ,"local ip" and "Application Name" ect.
this is for a...
Lowell
September 10, 2012 at 6:04 am
raj_melvin (9/10/2012)
Thanks Very Much this is really usefull.Appriciate your help.
is there is anyway we can get the same output using the SQL Audit
please help,
To the best of my knowledge, SQL...
Lowell
September 10, 2012 at 5:52 am
FreeHansje (9/10/2012)
Lowell
September 10, 2012 at 5:42 am
raj_melvin (9/10/2012)
Logon trigger - In case any issue with the trigger this will not allow any users to login into the DB.outpout in table is more preferable.
a well written trigger...
Lowell
September 10, 2012 at 5:34 am
samaneh.lashgari82 (9/9/2012)
Lowell
September 9, 2012 at 7:22 am
including the columns referenced:
select
OBJECT_NAME(depz.object_id),
OBJECT_NAME(depz.referenced_major_id),
colz.name,
*
from sys.sql_dependencies depz
left outer join sys.columns colz
on depz.object_id = colz.object_id
and depz.referenced_minor_id=colz.column_id
where ...
Lowell
September 8, 2012 at 9:37 am
This is one of those "in a perfect world "scenarios, in my case.
I can see that for large projects, but what about smaller projects or enhancements?
There was a recent...
Lowell
September 8, 2012 at 5:14 am
I have this saved in my snippets that seems to do a good job of generating explicit permissions;
does this produce the results you are after for a single database?
select sys.schemas.name...
Lowell
September 7, 2012 at 2:20 pm
ok here's a quick prototype i *think* does what you are asking;
it's basically a power-replace that cross joins your funciton symbols with a know list of repalces;
does this work the...
Lowell
September 7, 2012 at 2:11 pm
you would have to search the definition of the procedures to search for the CREATE TABLE statemenet;
SQL does not save information about who or what created any objects...just the create...
Lowell
September 7, 2012 at 2:00 pm
the problem with abstracting out the problem is it hides the actual issue.
i suspect that this would involve splitting ont he # sign, cleaning up any elements that meet the...
Lowell
September 7, 2012 at 1:50 pm
Viewing 15 posts - 4,756 through 4,770 (of 13,460 total)