Viewing 15 posts - 466 through 480 (of 515 total)
Though I am a SQL Server geek...still answering this 😉
"ed" is used in ORACLE on command-line-interface to open the current running query in editor.
-Lokesh :smooooth:
July 23, 2012 at 8:27 am
Very good question in-deep. Great reply by Paul.
Thanks for posting 🙂
- Lokesh
July 23, 2012 at 5:56 am
If you want to restrict a set of users, first create a ROLE, assign those users to this ROLE and REVOKE all the permissions for this ROLE on a speicfic...
July 22, 2012 at 9:52 pm
Taken:-)
Next time for sure..
- Lokesh
July 22, 2012 at 11:51 am
It did not work for me as well.
July 22, 2012 at 11:17 am
Another tip:
Select your table in MSMS and then press Ctrl+F1
Check the result set with FK'S 😉
July 22, 2012 at 11:10 am
Don't know the exact structure of the employee table you are using, but code would be something like this-
ALTER TABLE dbo.Employee
ADD CONSTRAINT CONS_Salary_nlt_500
CHECK (Salary > 500)
July 22, 2012 at 10:53 am
Trigger is not required here. Alter your table to include CHECK Constraint with specified salary options.
Check the below links for implementation:
http://msdn.microsoft.com/en-us/library/ms188258%28v=sql.105%29.aspx
http://msdn.microsoft.com/en-us/library/ms179491%28v=sql.105%29.aspx
July 22, 2012 at 10:48 am
+1
I agree with Jeffrey, best way is to test, test and test. I know some people writing about in-consistent query plans when using table variables over temp tables. But this...
July 22, 2012 at 10:44 am
I tried this on my PC. Same result.
Seems to be a limitation of DROP_EXISTING :unsure:
July 22, 2012 at 10:17 am
Thanks Gail. At-least I have got some food-for-thought on SQL Server security now 🙂
Regards
Lokesh
July 22, 2012 at 7:04 am
Thanks Vikrant. These links are really helpful.
Regards
Lokesh
July 22, 2012 at 7:02 am
Thanks Chris for correcting me 🙂
July 22, 2012 at 3:53 am
OUPUT Clause after a dml statement also gives the latest updated/inserted/deleted rows. Check this link for more details:
msdn.microsoft.com/en-us/library/ms177564.aspx
Lokesh
July 22, 2012 at 2:36 am
Hi Vivek...I am confident that this can be done with SSIS easily. Kindly explore.
-Lokesh
July 22, 2012 at 2:25 am
Viewing 15 posts - 466 through 480 (of 515 total)