Viewing 15 posts - 4,771 through 4,785 (of 13,465 total)
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...
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...
September 7, 2012 at 1:50 pm
bcp is a command line utility...not a TSQL command.
if you get the error in a command window, it's because bcp is not in the path...so you need to use the...
September 7, 2012 at 12:51 pm
I'm a lot less worried about performance impacts of server side traces than most people i guess;
I have three traces that are created by procedures that have been marked as...
September 7, 2012 at 8:42 am
Div Goud (9/7/2012)
Thanks Lowel,how to insert the currentdate into AA table with new policy number
just expand the number of columns being updated;
...
SET AA.Polcinumber = BB.Policynumber,
Column2 = GetDate(), --a function fromt...
September 7, 2012 at 6:41 am
assuming the ID is the join criteria between the two tables, this will do it:
UPDATE AA
SET AA.Polcinumber = BB.Policynumber
FROM BB
WHERE AA.ID = BB.ID
AND AA.Polcinumber <> BB.Policynumber
September 7, 2012 at 5:44 am
Try this stack of queries; they all give you some various information about what permissions your current login belongs to:
select * from fn_my_permissions(null,'SERVER')
select * from fn_my_permissions(null,'DATABASE')
--some inferred roles I may...
September 6, 2012 at 1:37 pm
I'm with Braindonor:
I'd lean towards no instance at all.
just add a database to the server, create the user for the application with the appropriate permissions.
one instance with multiple databases...
September 6, 2012 at 8:51 am
sqldba4u (9/6/2012)
Things are even much slower. So just wanted to know how we can release memory without restarting SQL.
That's what we've been trying to tell you.
SQL Server is designed to...
September 6, 2012 at 7:57 am
glad I could help Ali;
pay attention to the code at the bottom, which is creating a VIEW named sp_MyTrace so you can query the trace any time, with...
September 6, 2012 at 7:23 am
after an upgrade to a higher version, it's pretty much manditory to rebuild all your statistics;
the statistics in place are used differently by teh updated query engine, so if you...
September 6, 2012 at 6:59 am
Ali Tailor (9/6/2012)
HiI am wondering for; Will SQL Profiler will capture trace for the hard coded
query in application.
Answers will be thankfull.
a profiler session or a server side trace can catch...
September 6, 2012 at 6:07 am
i believe that can happen if a transaction between the server and a linked server gets rolled back, but never completes the rollback.
if you check sp_who2 for spid = -2,...
September 5, 2012 at 1:58 pm
also take a look at this detailed 5 page thread on trying to delete all temp tables from tempdb.
http://www.sqlservercentral.com/Forums/Topic627590-146-1.aspx
a quick recap: you cannot drop tables from other connections that you...
September 5, 2012 at 1:49 pm
yeah, i had mentioned "get you closer", because i saw you'll need to modify it some, and wanted you to understand that part.
looking at your cursor, do you notice...
September 5, 2012 at 11:29 am
Viewing 15 posts - 4,771 through 4,785 (of 13,465 total)