15,993,913 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Davidduraisamy (Top 54 by date)
Davidduraisamy
19-Mar-13 5:15am
View
whether any tool is there for replication in mysql.
Davidduraisamy
19-Mar-13 2:50am
View
Can u suggest me the steps to do replication
Davidduraisamy
14-Mar-13 8:35am
View
give example
Davidduraisamy
14-Mar-13 1:02am
View
This cant be done in mySQl.
Davidduraisamy
14-Mar-13 0:45am
View
Raju he told thet,If it is equal then delete else select..you did only delete.
Davidduraisamy
14-Mar-13 0:11am
View
Let me know whether my solution is ok for you or not
Davidduraisamy
13-Mar-13 5:18am
View
send sample output
Davidduraisamy
13-Mar-13 3:32am
View
I am not sure about that.
Davidduraisamy
13-Mar-13 3:22am
View
In MS SQL server you want use Linked Server,but i am not sure about MySQL
Davidduraisamy
13-Mar-13 3:07am
View
hmmm..
Davidduraisamy
13-Mar-13 3:00am
View
Ya..Check the qusetion and rply properly Aarti
Davidduraisamy
12-Mar-13 7:59am
View
Suppose if scode has more code for particular id then this wont work...right...
Davidduraisamy
12-Mar-13 7:56am
View
SELECT sum( amt ) FROM emp WHERE empid =1
Davidduraisamy
12-Mar-13 7:50am
View
If u want both means in where condition dont use particular condition
Davidduraisamy
12-Mar-13 7:49am
View
hey wat u r asking
Davidduraisamy
12-Mar-13 6:40am
View
Can you explain with examples
Davidduraisamy
12-Mar-13 3:32am
View
how,In his statement there is no aggregate function then how u will do in Pivot
Davidduraisamy
12-Mar-13 3:19am
View
Aarti whether it is possible to do with pivot.
Davidduraisamy
12-Mar-13 3:10am
View
Explain how you want the ouptut..it was not clear
Davidduraisamy
12-Mar-13 2:39am
View
You made group by on both id,name so in this scenario having will handle with both id and name so chek this u will come to know the difference
select name ,id from demo group by id ,name having COUNT(id)>=2
Davidduraisamy
12-Mar-13 1:48am
View
What you are trying to do...can u explain?
Davidduraisamy
12-Mar-13 0:54am
View
ok...have you got result using pivot...
Davidduraisamy
9-Mar-13 2:48am
View
Whether its working fine...
Davidduraisamy
9-Mar-13 2:45am
View
Ok..hereafter i will give only the suggestion.
Davidduraisamy
9-Mar-13 2:42am
View
you cant use pivot because there is no mean of using aggregate function in your query so you cant use pivot in this case,so my query is better option for this.
Davidduraisamy
9-Mar-13 2:30am
View
Just helping others who are struggling..thats it...
Davidduraisamy
9-Mar-13 2:14am
View
is it working fine....
Davidduraisamy
9-Mar-13 1:10am
View
Check the Result and let me know whether the problem solved or not
Davidduraisamy
8-Mar-13 23:46pm
View
Can you explain y lock will not work in select statement
Davidduraisamy
8-Mar-13 7:54am
View
can u provide sample example
Davidduraisamy
8-Mar-13 7:52am
View
You can order by in string column...
Davidduraisamy
8-Mar-13 6:57am
View
No need to delete the values..He can update the string values to numeric...Thats enough..
Davidduraisamy
8-Mar-13 4:46am
View
hey if you are applying where condition in all table den how fail condition will come
Davidduraisamy
8-Mar-13 4:24am
View
Restrict the condition in where clause as pass=1
Davidduraisamy
8-Mar-13 4:13am
View
I am not having knowledge about Cluster so only i asked you..If it possible post me the use of cluster shared disk available check and purpose of that..
Davidduraisamy
8-Mar-13 4:02am
View
he is asking about default dateformat...so this is correct---- SET DATEFORMAT dmy;
Davidduraisamy
8-Mar-13 3:40am
View
Procedure will not return the value..If u need any return value then use function
Davidduraisamy
8-Mar-13 3:33am
View
If time permits can you explain about the Cluster shared disk variable
Davidduraisamy
8-Mar-13 0:31am
View
Check updated code and let me know the issue..
Davidduraisamy
7-Mar-13 23:49pm
View
If it is like that then have to split the values and use ISNUMERIC function..
Davidduraisamy
7-Mar-13 23:16pm
View
To get min,hour,sec
SELECT convert(varchar, getdate(), 108) --– hh:mm:ss
Davidduraisamy
7-Mar-13 23:13pm
View
In sql it will return truncate error if ANSI_WARNINGS OFF..
If ANSI_WARNINGS ON then it will trim to valid size and it will do the operation..
Davidduraisamy
7-Mar-13 23:00pm
View
Explain the question clearly..
Davidduraisamy
7-Mar-13 7:24am
View
Try this:
select q.Student_ID,q.Fee_Type,q.amount,case when q.amount IS null then q.amount else q.amount-p.paid end as Current_month_due,case when g.paid is null then 0 else q.amount-g.paid end as previous_month_due,(q.amount-g.paid)+(q.amount-p.paid) as total_amount from Student_Fee_Quotations q join
(select d.Student_ID,d.Fee_Type,sum(d.amount) as paid from FeePaid_Details d where
d.Student_ID='PS20130001' and d.Fee_Type='Admission Fee' and d.Month_Details='jan'
group by d.Student_ID,d.Fee_Type )as g on q.Student_ID='PS20130001' and q.Fee_Type='Admission Fee' join (select d.Student_ID,d.Fee_Type,sum(d.amount) as paid from FeePaid_Details d where
d.Student_ID='PS20130001' and d.Fee_Type='Admission Fee' and d.Month_Details='feb'
group by d.Student_ID,d.Fee_Type ) as p on q.Student_ID='PS20130001' and q.Fee_Type='Admission Fee'
Davidduraisamy
7-Mar-13 7:18am
View
you are asking how to create job or SQL Query?
Davidduraisamy
7-Mar-13 7:15am
View
What issue you are facing?
Davidduraisamy
7-Mar-13 1:14am
View
have you got the result?
Davidduraisamy
7-Mar-13 0:41am
View
wats the problem here its working
Davidduraisamy
6-Mar-13 23:47pm
View
You have oly this four record or having more record
Davidduraisamy
6-Mar-13 7:01am
View
This is not coming correctly..
Davidduraisamy
6-Mar-13 4:39am
View
What OS you are using?
Davidduraisamy
5-Mar-13 6:38am
View
Have you found the answer...
Davidduraisamy
5-Mar-13 6:33am
View
In select statement you have taken Table name.Take Column name.
declare @value varchar(500)
declare @Whrcol varchar(500)
declare @Whrvalue varchar(500)
set @Whrcol='Product Cat3'
set @Whrvalue='IR DOME CAMERA'
set @value=('select [Column Name] from tblProductsCatalog where ['+ @Whrcol+ '] ='''+@Whrvalue+'''')
execute (@value)
Davidduraisamy
5-Mar-13 5:17am
View
No..this can extend according to Delimiter.
Show More