Example Table : Cl1 Cl2 ID SecndClmnNAme Delete From Tab Where ID NOt In Select Distinct ID From Tab)
Niraj_Silver
Posts
-
delete duplicate rows -
Payment gateway...In C#.Net New developer in this service help ...Asp.Net with C# (2.0) i am just novice user to this Gateway service, i wants to make enable my user at my site to by items and pay through Visa or master card.... What should be the my first step ? can you please help me ..... Thanks in advance... Niraj
-
Date Between Problemhi...
SELECT StarRate, date FROM BasicSearch WHERE date BETWEEN '2008-06-03' AND '2008-06-05'
Order By DateBy.. Tc :-D
-
Get row count and data set from sprocHi.. Sure You Can Have This One....
@Filter int,
@theRows int output
AS
BEGIN
SET @theRows=(SELECT Count(Field)
FROM MyTable
WHERE FilterField=@Filter)
ENDHope It Will work... do Reply.. Have Nice Day.. :-D
-
convertHi... Try This One Will Work Select Convert(varChar(20), Role) + LogInID From LogIn By Take Care.. :)
-
how i set Table name and Column name dynmicalyy in Ms sql spSure you can try this One... Declare @qry VarChar(1000), @clmname VarChar(100), @tabname VarChar(100) Set @qry = (Select @clmname from @tabname) Exec(@qry) hAVE A nICE DAY.... bY... :-D
-
select values from a table dyunamically in Stored procedurehi... Try This one.... Declare @loopId int set @loopId=1 Declare @vr varchar(100) declare @variable varchar(100) Declare @qry VarChar(1000) while @loopId<=4 begin set @vr='Q'+''+Convert(varchar,@loopId)+'' Select @variable=@vr from test print(@variable ) Set @qry = (Select @variable=@vr from test) set @loopId=@loopId+1 Exec(@qry) end Take Care .... sure there will not be any prob now if still having prob..then reply.. take care... By :-D
-
Data transaction between MySQL , MSMQ and Asp.net C# applicationi do not how it is in mysql but in MS SQL you can use stored procesure.. if you want to knw abt that tellme... :)
-
Problem in queryCAn you Explore it more with Code.... I can try on it..... By
-
joining two queriesif u wants to run both qries one after another then the Solution is.... SqlQry 1 Go Sqlqry 2 Go . . . . Try Go Statement in SQL it will help you... Enjoy your coding.. :-D
-
Problem in Queryhi Niraj Here , I hope this will work for you.... try this.. Select fieldnamewhich containst1t2ec as [1945] From Tablename Where year = 1945 Have a noce Day.. Stay Tune ..... Take Care.... :-D