Viewing 15 posts - 886 through 900 (of 1,082 total)
Hi again,
If I'm not wrong you could also use the UNPIVOT funtion.
Check it out on BOL
thanks
Chris
June 6, 2008 at 7:32 am
Use the MAX function and then use a group by Close on the other fields.
June 6, 2008 at 7:31 am
How about this:
INSERT INTO Pack_J_Price
(PackageID,
PartID,
PartsPricingID,
JobID)
SELECT
[PP].[PackageID],
[PP].[PartID],
[PPr].[PartsPricingID],
[PJ].JobID
FROM PartPackage [PP]
INNER JOIN PackageJob [PJ]
ON [PJ].PackageID = [PP].PackageID
INNER JOIN PartsPricing [PPr]
ON [PP].PartID = [PPR].PartID
June 5, 2008 at 10:04 am
AM I right in saying you want to insert into Pack_J_Price?
June 5, 2008 at 10:01 am
here is answer
SELECT [Vendor Name],SUBSTRING([Attendee Name]+' ', number,
CHARINDEX(' ', [Attendee Name]+' ', number) - number)
FROM MyTable [My]
INNER JOIN Tally [T]
ON number < = LEN([Attendee Name])
AND SUBSTRING('...
June 5, 2008 at 9:32 am
Sorry here is the link:
http://www.sqlservercentral.com/articles/TSQL/62867/
Look at the stepping through strings sextion.
June 5, 2008 at 9:18 am
HI,
Have a read in the articles sections for Jeffs create articles on Tally/Number tables 🙂
If you have trouble gives us a should
Thanks
Chris
June 5, 2008 at 9:17 am
HI Agree,
Having to put in spaces wasn't idea when you realised you had the wrong answer but had now replacement for it
June 5, 2008 at 8:58 am
HI 🙂
Thanks I thought that was the case and it makes 100% sense.
I was just trying my luck. I'm glad that I can't do it to be honest, as this...
June 5, 2008 at 8:23 am
Hi All,
Alternatively is it possible to add a nullable field without a default to a table that has data using a WITH NOCHECK?
Thanks
Chris
June 5, 2008 at 7:42 am
HI All,
I love this puzzle idea it's great.
I have a suggestion that if you want to blank our something that you have typed in that you have to put in...
June 5, 2008 at 5:40 am
he he he thanks Matt 🙂
(thinking about throwing a soft pillow)
June 5, 2008 at 2:08 am
It's a very sad I must, I really just learn't and started to get the full affect of bookmarks, but I guess I just wished for too much he he...
June 4, 2008 at 10:30 am
HI Steve,
Sorry I didn't explain myself correct.
normally if you have 2 or 3 scripts open and you start creating bookmarks on them, then if you save and close those scripts(keeping...
June 4, 2008 at 9:58 am
Viewing 15 posts - 886 through 900 (of 1,082 total)