Viewing 15 posts - 8,011 through 8,025 (of 10,144 total)
skeeter042 (4/12/2010)
select rowid, accountnumber, tenantnumber, accountname, serviceaddress, billtoaddress1,
case
when...
April 12, 2010 at 7:25 am
How will you determine which lookup table the foreign key value is from, for each row of table c?
April 12, 2010 at 5:33 am
Paul White NZ (4/12/2010)
Chris Morris-439714 (4/12/2010)
Heh in any case, it's a little sluggish...But full of recursive awesomeness!!!
Great code.
But so slow! I've got a little library of rCTE's now for a...
April 12, 2010 at 4:05 am
Ninja's_RGR'us (4/9/2010)
-- Maxrows = 16: (65,535 row(s) affected) / 00:00:02
-- Maxrows = 20: (1,048,575 row(s) affected) / 00:00:46
-- Maxrows = 21: (2,097,151 row(s) affected) / 00:01:33
-- Maxrows = 22: (4,194,303...
April 12, 2010 at 3:02 am
RBarryYoung (4/11/2010)
Tom.Thomson (4/11/2010)
mbricker-600840 (4/11/2010)
Tom.Thomson (4/11/2010)
hippopotomonstrosesquipedalianIs that a hippo that uses long words?
No, it's a sesquipedalian autological autonym. :hehe:
??? Really? I thought that it was a giant 75-footed carnivorous...
April 12, 2010 at 2:15 am
Garadin (4/9/2010)
Chris Morris-439714 (4/9/2010)
Oh cr@p - Seth, let me know if you're still considering setting up a challenge and I'll edit this out.
I am, but I know Jacob already has...
April 9, 2010 at 9:32 am
Ninja's_RGR'us (4/9/2010)
Chris Morris-439714 (4/9/2010)
It would be better to change the string list from comma-delimited to fixed position, three character positions per item - that way, the upper limit would...
April 9, 2010 at 9:25 am
Hi Ninja
It would be better to change the string list from comma-delimited to fixed position, three character positions per item - that way, the upper limit would be 999 rows....
April 9, 2010 at 7:34 am
vaibhav.tiwari (4/9/2010)
but i got the simpler solution from some another forum i want...
April 9, 2010 at 7:27 am
jcrawf02 (4/9/2010)
April 9, 2010 at 6:44 am
This might help. I'd recommend rejigging it to return all address elements.
ALTER FUNCTION [dbo].[udf_AddressShuffle]
(
@AddressElementID INT = 1,
@Address1 varchar(80),
@Address2 varchar(80),
@Address3 varchar(80),
@Address4 varchar(80),
@Address5 varchar(80),
@Address6 varchar(80),
@Address7 varchar(80),
@Address8 varchar(80)
)
RETURNS VARCHAR(80)
AS
BEGIN
DECLARE @AddressElement VARCHAR(60)
;WITH Stringer AS...
April 9, 2010 at 6:20 am
vaibhav.tiwari (4/9/2010)
thats what i have done earlier butNote that for ID 2 there is not any entry with action 'U'
so for that i need to show null.
Here's the simplest...
April 9, 2010 at 6:09 am
This is very basic, is it coursework?
If so, the following should get you started:
SELECT
s.ID,
s.M_ID,
s.T_Name,
s.T_Desc,
s.Sch_time,
createdon = i.ModifiedOn,
createdby = i.ModifiedBy,
LastModifiedOn = s.ModifiedOn,
LastModifiedBy =...
April 9, 2010 at 5:43 am
Viewing 15 posts - 8,011 through 8,025 (of 10,144 total)