Click here to Skip to main content
15,898,638 members
Home / Discussions / Database
   

Database

 
AnswerRe: Convert MSSQL database to MySQL database Pin
David Skelly8-Jun-11 22:36
David Skelly8-Jun-11 22:36 
AnswerRe: Convert MSSQL database to MySQL database Pin
Shameel9-Jun-11 1:04
professionalShameel9-Jun-11 1:04 
AnswerRe: Convert MSSQL database to MySQL database Pin
obhijitghosh19-Jun-11 20:17
obhijitghosh19-Jun-11 20:17 
QuestionSet RowCount Alternatives [solved] Pin
Dan Mos8-Jun-11 8:17
Dan Mos8-Jun-11 8:17 
AnswerRe: Set RowCount Alternatives Pin
Chris Meech8-Jun-11 8:28
Chris Meech8-Jun-11 8:28 
GeneralRe: Set RowCount Alternatives [modified] Pin
Dan Mos8-Jun-11 8:29
Dan Mos8-Jun-11 8:29 
GeneralRe: Set RowCount Alternatives Pin
PIEBALDconsult8-Jun-11 14:12
mvePIEBALDconsult8-Jun-11 14:12 
GeneralRe: Set RowCount Alternatives Pin
Dan Mos8-Jun-11 22:54
Dan Mos8-Jun-11 22:54 
Thumbs Up | :thumbsup:
Generally it's a very good idea. But the thing is this.

I have a production app(scanners and all that) and normally a interface for setting up the lines,projects...

I did not allow them to delete a PN. Now they want that feature.
But in order to not delete any production data I need to check if any production data exists for that PN
and if not, then and only then delete all stuff related to that PN. Else refuse it.

Yeah I know SQL would return an error complaining about FK and stuff but I don't want the user to see that.
So first check and if not exists then delete.
Else show a message to the user that production datas exists for that PN and delete has been aborted.
Smile | :)
All the best,

Dan

modified on Thursday, June 9, 2011 5:05 AM

QuestionORA-01843: not a valid month - Error Pin
Sathiyasoori.S8-Jun-11 3:22
Sathiyasoori.S8-Jun-11 3:22 
AnswerRe: ORA-01843: not a valid month - Error Pin
Luc Pattyn8-Jun-11 3:52
sitebuilderLuc Pattyn8-Jun-11 3:52 
GeneralSide bet Pin
Peter_in_27808-Jun-11 14:46
professionalPeter_in_27808-Jun-11 14:46 
AnswerRe: Side bet Pin
Luc Pattyn8-Jun-11 15:05
sitebuilderLuc Pattyn8-Jun-11 15:05 
GeneralRe: ORA-01843: not a valid month - Error Pin
Sathiyasoori.S8-Jun-11 17:31
Sathiyasoori.S8-Jun-11 17:31 
AnswerRe: ORA-01843: not a valid month - Error Pin
Luc Pattyn14-Jun-11 1:58
sitebuilderLuc Pattyn14-Jun-11 1:58 
Questionclustered index more than on one field Pin
MecAlex8-Jun-11 2:52
MecAlex8-Jun-11 2:52 
AnswerRe: clustered index more than on one field Pin
_Damian S_8-Jun-11 15:38
professional_Damian S_8-Jun-11 15:38 
GeneralRe: clustered index more than on one field Pin
MecAlex8-Jun-11 21:59
MecAlex8-Jun-11 21:59 
QuestionRemote Server(DB) conn from local DB Pin
ravi110387-Jun-11 7:04
ravi110387-Jun-11 7:04 
AnswerRe: Remote Server(DB) conn from local DB Pin
jschell7-Jun-11 10:08
jschell7-Jun-11 10:08 
QuestionSQL Server 2008 Pin
Member 46502877-Jun-11 1:24
Member 46502877-Jun-11 1:24 
AnswerRe: SQL Server 2008 Pin
Blue_Boy7-Jun-11 1:28
Blue_Boy7-Jun-11 1:28 
GeneralRe: SQL Server 2008 Pin
Member 46502877-Jun-11 2:03
Member 46502877-Jun-11 2:03 
GeneralRe: SQL Server 2008 Pin
Blue_Boy7-Jun-11 4:08
Blue_Boy7-Jun-11 4:08 
AnswerRe: SQL Server 2008 Pin
Corporal Agarn7-Jun-11 3:34
professionalCorporal Agarn7-Jun-11 3:34 
AnswerRe: SQL Server 2008 Pin
thatraja7-Jun-11 9:49
professionalthatraja7-Jun-11 9:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.