Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 want to know the quries
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 04/02/2013 :  23:25:07  Show Profile  Reply with Quote
1)i want to know the query never place in the order

customer table Order Table

CustID Custname orderID CustID
1 Naresh 1 1
2 suresh 2 2
3 bharat 3 1

Answer:Select Custid From Customer where custID Not In (Select Custid from order table)

Please confirm the answer correct or not

2)i want to know the query managername,empname

employee table

empid empname managerID
1 Naresh 2
2 suresh 1
3 rakesh 2

3)ssis package:

i have 10 tasks 5 tasks are success and 5 tasks are failed

if the task is success the task will commit . if the task is is failed the tasks will roll back

Ans:-by using transctions is possible.

Thanks and Regards
Naresh Chepuri

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 04/03/2013 :  01:23:56  Show Profile  Reply with Quote
why not test with sample data and see if you're getting correct output?
That way you will understand for yourself whether its correct or what went wrong etc. That will be more beneficial to you that someone else suggesting you.

SQL Server MVP
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000