Solved

Help with sproc syntax (DELETE)

Posted on 2011-09-28
2
341 Views
Last Modified: 2012-05-12
Hi All,

I think its a pretty simple sproc but cannot get it right. any help?

--------------------------------------

BEGIN
DELETE From Bd_StuCrs bd

Inner Join Tbl_Student st On
bd.StuCrs_Stu_UserID = st.Student_UserID

WHERE bd.StuCrs_Stu_UserID = st.Student_UserID
AND st.Student_ISPurged = 1

END

-----------------------------------------------------

Kind regards

A
0
Comment
Question by:Abiel de Groot
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Accepted Solution

by:
Anuj earned 500 total points
ID: 36716068
BEGIN
DELETE From Bd_StuCrs
FROM Bd_StuCrs  bd
Inner Join Tbl_Student st On
bd.StuCrs_Stu_UserID = st.Student_UserID
WHERE bd.StuCrs_Stu_UserID = st.Student_UserID
AND st.Student_ISPurged =1
END
0
 
LVL 5

Author Comment

by:Abiel de Groot
ID: 36716108
Many Thanks...

A.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
I have a large data set and a SSIS package. How can I load this file in multi threading?
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question