Viewing 15 posts - 1 through 15 (of 37 total)
Hi,
I added one more join and it workf fine
SELECT A.ROOL_NO, A.NAME, PHYSICS, CHEMISTRY, MATHS, TOTAL
FROM STUDENT A
INNER JOIN
(SELECT ROOL_NO, [P] AS PHYSICS,[C] AS CHEMISTRY,[M] AS MATHS
FROM
(SELECT ROOL_NO,SUBJECT,MARKS
FROM STUDENT_NUMBER...
September 17, 2008 at 7:45 am
Thanks to all.. I got book what is suggested by grant ..
Thanks!
September 10, 2008 at 8:02 am
small correction...
Hope this works....
select a.userid, c.username, b.teamname from userteam a join
(select userid, teamid, max(created) created from userteam group by userid, teamid)x
on a.userid = x.userid and a.teamid = x.teamid and...
September 8, 2008 at 6:42 am
use SUBSTRING function
SUBSTRING(name,2,2) = 'ab'
Hope it will work out...
Thanks!
September 1, 2008 at 12:10 am
Hi,
Here is solution:-
1) Source :- Flat file use DT_STR for Date column
2) Derived Column :- Replace this with using
SUBSTRING([Column 2],4,4) + "/" + SUBSTRING([Column 2],5,2) + "/" + SUBSTRING([Column...
August 28, 2008 at 6:07 am
hI,
Use Derived column and put
SUBSTRING([Column 2],4,4) + "/" + SUBSTRING([Column 2],5,2) + "/" + SUBSTRING([Column 2],7,2)
in expression and data_type DT_DATE
Thanks!
August 28, 2008 at 6:05 am
Hi,
Issue with date column... use DT_STR and then in derived column use substring to include // so date will become 2007/04/05 and then transfer data to destination...
it will work...
August 28, 2008 at 5:52 am
Use execute sql task component in control flow if you only need result set coming from this query or
use look up table make table b as lookup if you...
August 27, 2008 at 1:26 am
Select TableA.ID,TableA .Name,Val,access
from TableA,TableB
Where TableA .id = TableB.Id
Thanks!
August 26, 2008 at 7:12 am
I think SUBSTRING(ENCT_HDR_BATCH_ID, 4, 4) is wrong
use SUBSTRING(ENCT_HDR_BATCH_ID, 4, 1) and then try it...
as 4,4 will take space i think... so use 4,1 so it will take only P...
August 26, 2008 at 12:56 am
Could you provide some sample data .. It might help to understand problem in better way...
Thanks!
August 26, 2008 at 12:42 am
use data conversion transformation component insted of dervied column..
Thanks!
August 25, 2008 at 6:13 am
This link will be ur answer...
http://wiki.sqlis.com/default.aspx/SQLISWiki/Row%20Count%20Transformation.html
Thanks!
August 25, 2008 at 6:12 am
Thanks..
Do we have any tool in sql server to identify which transcation or select statement is taking time ?
I have SP with 100 of select statement then how to proceed...
August 25, 2008 at 2:51 am
Thanks steveb..
I also only have this approach in my mind but as some of my head is asking that couls you have any approach which is better than this...
August 21, 2008 at 9:18 am
Viewing 15 posts - 1 through 15 (of 37 total)