Viewing 12 posts - 1 through 12 (of 12 total)
Thanks for replying sir
But i want to have 2 different columns i.e., Name & SubjectWiseMarks.
But for column Name i want distinct .
October 23, 2013 at 1:53 am
Thanks for replying
i wrote like this but it is still getting null
MIN(case when Unit = '% wt.' then ISNULL(Figure,0) when ISNULL(Figure,0)=NULL then Mwt/vol end) as wt
August 16, 2013 at 1:52 am
Thanks for replying,
I had another doubt
After Running the below Select Statement what you given for example my records are like below,
SELECT Name,
...
August 16, 2013 at 1:30 am
Thanks for replying Koen Verbeeck.
Am not the admin.
if the user is not the admin then how to resolve this issue?
is there any other way?
August 8, 2013 at 3:23 am
Thank you sir for replying,
Actually it is great solution (INSERT INTO SELECT STATEMENT).
it is working fine.
July 12, 2013 at 5:05 am
Hi Sir,
Thanks for replying.
It is working if i write the query
INSERT INTO MYTABLE(NAME,ID) VALUES('AAA',1),('AAA',2),('AAAA',3)
so for this i write a stored procedure,
ALTER PROCEDURE MYPROCEDURE
(
@String NVARCHAR(MAX)
)
...
July 11, 2013 at 12:41 am
Thanks Pan & Vinu Its working... & once again thanks for replying...
November 2, 2012 at 4:27 am
Thanks for replying BriPan..
Declare @SampleIDs Varchar(100)
Set @SampleIDs=(Select SampleIDs From Sample1 where AutoID=1)
Select Item from dbo.DelimitedSplit('1,3,4',',') UNION Select Item from dbo.DelimitedSplit(@SampleIDs,',')
So the output for this is like,
Item
-----
1
2
3
4
then how to convert it...
November 2, 2012 at 3:47 am
CREATE TABLE tblKit
(
KitId INT,
TargetId INT,
QId INT
)
This is my actual table structure & i have some records
(SELECT DISTINCT TargetId FROM tblKit) If I run this...
August 22, 2012 at 5:45 am
Thanks for replying Cadavre.
Sorry for writing my post in caps.
Actually i don't know the meaning that if i post a query in caps it is like shouting.
From now onwards while...
August 22, 2012 at 2:52 am
Thanks for all replying to my post
NOW IAM CLEARLY EXPLAING MY TASK,
SELECT DISTINCT ID FROM TABLE1
When i execute the above statement
The Output comes like this,
ID
----
100
200
300
400
500
so now i want to insert...
August 22, 2012 at 2:13 am
Thanks for replying Boss for my question....
Its working fine thanks a lot.
July 23, 2012 at 12:49 am
Viewing 12 posts - 1 through 12 (of 12 total)