Viewing 15 posts - 9,661 through 9,675 (of 10,144 total)
Maroti, this would be a heck of a lot easier to solve if the query was nicely formatted, as follows:
[font="Courier New"]
FROM maintSubStrategySecurityType
RIGHT JOIN tblBlackrockPositionsByFund AS Positions
ON maintSubStrategySecurityType.[Sub...
August 22, 2008 at 4:24 am
Can you provide the necessary logic for one join to be selected? One option you could use is to LEFT JOIN for each of the three possible joins and pick...
August 22, 2008 at 3:46 am
You're welcome ChrisT, thanks for the feedback.
Cheers
ChrisM
August 20, 2008 at 10:22 am
Use LIKE in the join:
[font="Courier New"]
SELECT a.zipcode, z.zipcode
FROM AgentAddresses a
LEFT JOIN ZipCodes z ON a.zipcode LIKE z.zipcode+'%'[/font]
Cheers
ChrisM
August 20, 2008 at 8:37 am
What client software are you using to display the date to the user? Is the default display of datetime provided by this client (and using regional settings) inappropriate for your...
August 20, 2008 at 4:56 am
Sudarsan, it's difficult to tell exactly what you mean. One interpretation of your requirements is as follows:
You have dates in an unknown format. These dates are in table columns.
You want...
August 20, 2008 at 4:31 am
UPDATE c SET hazard_info = h.hazard_phrase
FROM compound c
INNER JOIN hazard h on h.compound_id = c.compound_id
Cheers
ChrisM
August 20, 2008 at 4:03 am
Jeff Moden (8/19/2008)
Chris Morris (8/19/2008)
I've had to do pivots in the last couple of weeks, with an unknown number of output (transposed)...
August 20, 2008 at 2:24 am
Really nice to read, Jeff, and absolutely spot on.
I've had to do pivots in the last couple of weeks, with an unknown number of output (transposed) columns with unknown names,...
August 19, 2008 at 7:42 am
Chad Crawford (8/15/2008)
I'll be back after I finish running DBCC CHECKBRAIN
Chad
This one runs nightly, sometimes with irritating sound effects.
August 17, 2008 at 5:34 am
Sergiy (8/7/2008)
Christopher Stobbs (8/7/2008)
ah Chris my bad,I'm 2005, wierd that the results are different it must do with the Percent and Order by clause combination.
Ankur
What is your default...
August 8, 2008 at 12:52 am
Christopher Stobbs (8/7/2008)
Chris,,,You making me nervious...
are you following me around today :w00t:
Be afraid...be very afraid...
Nah Chris I'm picking the easy ones, same as you 😛 😀
August 7, 2008 at 8:27 am
VB (8/7/2008)
August 7, 2008 at 8:17 am
Christopher Stobbs (8/7/2008)
ah Chris my bad,I'm 2005, wierd that the results are different it must do with the Percent and Order by clause combination.
Thanks for pointing this out Chris, one...
August 7, 2008 at 7:17 am
Viewing 15 posts - 9,661 through 9,675 (of 10,144 total)