Viewing 15 posts - 376 through 390 (of 1,162 total)
The problem here is you're relying on an undocumented and unreliable use of variable assignment in a select statement.
There's absolutely no guarantee that the variable assignment will occur in the...
May 17, 2012 at 5:50 am
That's going to depend entirely on the logic within the SSIS package. I would assume you must have some conditional logic or wait conditions that can never be satisfied, or...
May 17, 2012 at 4:02 am
PaulB-TheOneAndOnly (5/16/2012)
Exactly. That's the beauty of the hint - you are telling Oracle "I know better, trust me and start using that damn index!!!" 😀
The problem with this is...
May 16, 2012 at 8:57 am
Jakub.Janda (5/16/2012)
-- Deny all common rightsDENY SELECT TO [WebUser]
DENY INSERT TO [WebUser]
DENY UPDATE TO [WebUser]
DENY DELETE TO [WebUser]
Deny and Revoke are not the same thing. Deny prevents permissions from groups...
May 16, 2012 at 6:13 am
erics44 (5/16/2012)
I have always been under the impression that in tables where there are a lot of inserts a clustered index should be avoided and clustered indexes should be used...
May 16, 2012 at 2:50 am
Jeff's correct here - there's no appreciable difference between SQL Server and Oracle for this kind of predicate.
Wrapping a char function around the column rather than converting the scalar parameter...
May 15, 2012 at 7:09 am
You're going to have to define "very large dataset".
If it's really huge, then yes, you'll have to do this in the database, but it obviously has complications and costs....
May 15, 2012 at 4:09 am
Depends on the average size of the data set. Both of the examples you've shown will be caching this on the application server - e.g. the database engine returns the...
May 15, 2012 at 3:51 am
Yep, what Revenant said. You can't evaluate NULL, just like SQL Server. As you have two columns involved in the logic, it might be simpler to have a step above...
May 14, 2012 at 9:44 am
Duran (5/14/2012)
May 14, 2012 at 8:21 am
OK, if it's a heap with no indexes, I'd fix the design rather than change parallelism settings.
You can find out if Session ID is unique at any given time...
May 14, 2012 at 7:54 am
I wonder why you're getting parallelism here for such a simple query... Is sessionID the clustered index of the Session table? Is SessionID unique?
May 14, 2012 at 7:43 am
Could you upload the deadlock graph as well?
It's important to understand what a deadlock actually is in diagnosing these issues - it's NOT the same as locking or blocking. It...
May 14, 2012 at 6:00 am
ankur_libra (5/10/2012)
Please do take care of the security settings (Logins, database roles, permissions) need to preserved on the newly refershed database. Restoring backup doesnot include permissions and security settings..
...Depends. Database...
May 14, 2012 at 3:00 am
Yep, it's very common thing to do. It can be done entirely in T-SQL and scheduled as an agent job.
All you need to do is backup the database to the...
May 10, 2012 at 10:13 am
Viewing 15 posts - 376 through 390 (of 1,162 total)