Viewing 15 posts - 31 through 45 (of 54 total)
See Dyanmic Sql is used where we dont want to hard code the values in
our query.
For example if we wan to run this command against a database
than
Create procedure dynamic_query(
@dbname...
December 12, 2012 at 4:06 am
Problem may be there in your cursor any one of them
may be going into a infinite loop
thats why the cpu usage may be high all the time
due to...
December 11, 2012 at 10:48 pm
Stuff will do the trick
refer to this link for more information
December 11, 2012 at 10:43 pm
Sorry my fault
for sysadmin permission it does not search for Drive that are available on my
organisations network but for SQLAgentOperatorrole it searches for drives on my network.
December 11, 2012 at 6:44 am
Thanks
i have run profiler for sqlagentoperatorrole it is searching through all the drives available on the networkbut for ssisadmin it leaves the network drive
any method to restrict this.
December 11, 2012 at 4:45 am
hey John its still taking the time but this does not happen when
i give the user sysadmin permission but i dnt want user to have this permission.
December 11, 2012 at 2:07 am
the permissions that user have are
db_ssisadmin
db_owner
Sqlagentoperatorrole
sqlagentreaderrole
sqlagentuserrole
December 9, 2012 at 9:57 pm
Hi John
but this does not happen when user have sysadmin permission
but without this it takes time
December 7, 2012 at 7:29 am
SELECT
COUNT(dbid) as TotalConnections
FROM
sys.sysprocesses
WHERE
dbid > 0
If more information is required
use
sp_who2 'ACTIVE'
December 4, 2012 at 11:51 pm
While most queries which employ CROSS APPLY can be rewritten using an INNER JOIN, CROSS APPLY can yield better execution plan and better performance, since it can limit the set...
December 4, 2012 at 11:43 pm
—- To enable the feature.
EXEC sp_configure ‘xp_cmdshell’, 1
GO
—- To update the currently configured value for this feature.
RECONFIGURE
GO
Check if this works for you.
December 4, 2012 at 10:54 pm
See you can use the substring function to break the int value into time
or into the format you want have I think this will do the trick .
December 4, 2012 at 10:50 pm
you can use the procedure to first have the list of students
absent in a particular department and then use the procedure
sp_send_dbmail to send the list of absentees in the...
December 4, 2012 at 10:43 pm
Viewing 15 posts - 31 through 45 (of 54 total)