May 16, 2013 at 4:59 am
please find the attached file...
need a query for the table design i have mentioned here...
May 16, 2013 at 5:17 am
There is no need to duplicate post.
All replies better to go to original one:
http://www.sqlservercentral.com/Forums/Topic1453408-391-1.aspx
May 16, 2013 at 5:20 am
anna tande.... give me d query.. i dnt want nethng else frm u
May 16, 2013 at 5:23 am
su88rao (5/16/2013)
anna tande.... give me d query.. i dnt want nethng else frm u
I don't think that will get you too far here...
May 16, 2013 at 5:32 am
wat else u need nw
May 16, 2013 at 5:44 am
Have you read the article http://www.sqlservercentral.com/articles/Best+Practices/61537/?
Post DDL of your tables, sample data insert script and expected results based on these data. Nothing more.
May 16, 2013 at 6:06 am
this is for table1 i,e t1
P1nvarchar(255)Checked
S1nvarchar(255)Checked
B1nvarchar(255)Checked
H1 -b1intChecked
H1 -s1intChecked
S2 -b1intChecked
S2 -s1intChecked
J1 -b1intChecked
J1 -s1intChecked
and this is for table 2 i,e t2
P1nvarchar(50)Checked
S1nvarchar(50)Checked
B1nvarchar(50)Checked
Funnvarchar(50)Checked
Valint Checked
Locnvarchar(50)Checked
and i have mentioned values and desired output in my previous file... plz check the txt document which is attached u willl get brief idea about it
May 16, 2013 at 6:13 am
su88rao (5/16/2013)
this is for table1 i,e t1P1nvarchar(255)Checked
S1nvarchar(255)Checked
B1nvarchar(255)Checked
H1 -b1intChecked
H1 -s1intChecked
S2 -b1intChecked
S2 -s1intChecked
J1 -b1intChecked
J1 -s1intChecked
and this is for table 2 i,e t2
P1nvarchar(50)Checked
S1nvarchar(50)Checked
B1nvarchar(50)Checked
Funnvarchar(50)Checked
Valint Checked
Locnvarchar(50)Checked
and i have mentioned values and desired output in my previous file... plz check the txt document which is attached u willl get brief idea about it
I cannot run anything from what you have posted.
DDL should look like that:
CREATE TABLE MyTable
(
Col1 INT,
Col2 CHAR(1)...
)
Test data should be like that:
INSERT MyTable SELECT 1, 'a',...
INSERT MyTable SELECT 2, 'b',...
And the code you post should be runnable.
Then, I can execute it in my SSMS and provide you with solution for your query.
The amount of time you have spend on posting incomplete information is already few times more than if you would read the article and provide details as suggested above.
There is another way to have your answer. Wait for someone who will be happy to work from information you have posted. I'm sure it will get answered eventually. However, it may take much much longer time...
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply