May be a "inherited form" will help you(I guess so) :confused:
Goutam Patra
Posts
-
window application -
Getting network drives names issueAbsolutely.
-
Getting network drives names issueI have checked your code but it works in Windows 7 also!
-
Hello ? -
How to get the connected computer in the networkYou may use the Comments and Discussions section below the article and add a new message to the article writer and ask what you more want to know.
-
How to get the connected computer in the network -
Cheap Web Hosting Services. Advert? -
help with inport csv file to my C# program -
converting column values to column. [modified]SELECT * FROM mytable AS A
PIVOT (
SUM(AMOUNT)
FOR MEVENT IN([ReliefFund], [Donation], [Festival])
) AS M -
See the post -
adding Group by result to each otherThen try using UNION Query like
SELECT A.NUM, SUM(A.TOTAL) AS TOTAL FROM (
SELECT num1 AS NUM,count(*) AS TOTAL FROM NumaraBilgileri
GROUP BY num1
UNION ALL
SELECT num2 AS NUM,count(*) AS TOTAL FROM NumaraBilgileri
GROUP BY num2
) AS A
GROUP BY A.NUMYou need to create union for all fields.
-
adding Group by result to each otherAre you looking for something like this
SELECT
CASE WHEN NUM1 = 10 THEN 1 ELSE 0 END +
CASE WHEN NUM2 = 10 THEN 1 ELSE 0 END +
CASE WHEN NUM3 = 10 THEN 1 ELSE 0 END +
CASE WHEN NUM4 = 10 THEN 1 ELSE 0 END +
CASE WHEN NUM5 = 10 THEN 1 ELSE 0 END +
CASE WHEN NUM6 = 10 THEN 1 ELSE 0 END
AS TOTALFROM MYTABLE
-
begintrans, commit and rollbackRajesh Puli wrote:
In this case there is no chance for Programmers
I agree
-
begintrans, commit and rollbackWell that was not my intention. Yes, some of my clients are still using good old VB6 application. And I told them I will not be able to give any more functionality in this application platform, I can give you support up to some minor changes. I think there is no point of doing any further development on VB6. And that’s why I said so. And I also I gave OP the some solution also. I just didn’t reply OP to say that.
-
begintrans, commit and rollbackmabrahao wrote:
app on vb6
VB6 is dead.
mabrahao wrote:
how can i know if the transaction is "open" or not.
As much as i can remember (asuming that you are using ADODB) the only way to use a variable. After opening the transaction make it true and after commit or rollback make it false.
-
Sql Time Out Problemvishnukamath wrote:
Im Using The Select Query to Get the data in to datatable
Post the code you are using
-
Sql Time Out Problemvishnukamath wrote:
I Tried A lot Of Ways For Solving This Problem.
Have you tried
cmd.CommandTimeout = 10000;
-
Restrict characters on oracle -
TSQL to print the content/inside of stored proc, definition of view and tables?You may use 1.
information_schema.columns
for columns 2.information_schema.tables
for tables 3.sp_helptext 'sp_procedurename'
for SP Text -
How do I Compare Thumb Image by the Select Statement in SQL Server 2005....?