Viewing 15 posts - 4,981 through 4,995 (of 7,191 total)
What do you mean by "offline back"? Why do you want to do it?
John
November 4, 2011 at 2:43 am
You need to find out which operation is taking more than 600 seconds to complete, and look at improving its performance.
John
November 4, 2011 at 2:23 am
I think you have three options, then:
(1) Do as Brian suggested, but then explicitly deny EXECUTE on all system stored procedures.
(2) Move your user-defined stored procedures to a different schema...
November 3, 2011 at 4:22 am
Because there should be no expectation that the results of a SELECT query will be ordered, whether the query is against a table or a view, and whether or not...
November 2, 2011 at 5:15 am
If you've got corrupt data in your database then I would recommend that you deal with that before anything else. Have a read about DBCC CHECKDB if you haven't...
November 2, 2011 at 2:42 am
Ninja's_RGR'us (11/1/2011)
Edit YUP.
There's no point in putting the columns in the correct order. You do that in the select statements.
SQL will order those...
November 1, 2011 at 5:41 am
Not as far as I know - there is no create_date column in sys.columns. I would advise against using the GUI to insert a new column between two existing...
November 1, 2011 at 5:32 am
You're ordering your results by the create date of the table. Since that will be the same for each column in the table, you can't guarantee that your results...
November 1, 2011 at 5:15 am
Have you tried logging a call with Quest support? I usually find them very helpful.
John
October 31, 2011 at 10:01 am
From the link I posted:
- Never run with more privileges than necessary. Users that log into an application with their own login should normally only have EXEC permissions on stored...
October 31, 2011 at 4:51 am
prashant-507002 (10/31/2011)
By your point of view i have to make store procedure for each table insert, update and delete
That's what I'd recommend, yes. See also this:
http://www.sommarskog.se/dynamic_sql.html
John
October 31, 2011 at 4:37 am
Bear in mind that we usually have shorter hours and longer holidays here in the UK than in the US, especially in public sector jobs. Comparing the salary only...
October 21, 2011 at 3:29 am
Frank
Please will you post table DDL in the form of CREATE TABLE statements, sample data in the form of INSERT statements, and show us the data you're trying to insert...
October 20, 2011 at 7:05 am
Murali
What column(s) do you want to match the two result sets on?
John
October 20, 2011 at 4:45 am
Something like this?
WITH MinVals AS (
SELECT
TransNo,
MIN(IsVoid) AS IsVoid
FROM
MyTable
)
SELECT
t.IncidentId
,v.IsVoid
,t.TransNo
FROM
MyTable t
JOIN
MinVals v ON m.TransNo = v.TransNo
Please post table DDL (CREATE TABLE), sample data (INSERT) and expected results next time. You'll get...
October 20, 2011 at 4:00 am
Viewing 15 posts - 4,981 through 4,995 (of 7,191 total)