Viewing 15 posts - 6,076 through 6,090 (of 15,381 total)
toneranger (12/18/2013)
Triggers are like events for...
December 18, 2013 at 1:59 pm
Jeff Moden (12/18/2013)
amy26 (12/18/2013)
So, wherever you go...there you are? 😀 Hehe, sorry couldn't resist. 🙂DBCC TIMEWARP on sterioids. '-)
That is the circular referenced verbose version. 😀
December 18, 2013 at 1:31 pm
Like this?
CREATE FUNCTION dbo.fn_parsename
(
@pString VARCHAR(7999),
...
December 18, 2013 at 1:26 pm
You will end up with something similar to this.
declare @Something table (SomeValue varchar(50))
insert @Something(SomeValue) values('01-08-087-0101W5')
select *
from @Something
cross apply dbo.DelimitedSplit8K(SomeValue, '-')
December 18, 2013 at 12:52 pm
Take a look at the link in my signature about splitting strings. This is probably the best approach for what you are trying to do here.
December 18, 2013 at 12:50 pm
cdl_9009 (12/18/2013)
(( Status = 'P' --PENDING
AND TYPE = 'P' ) --PRIMARY
OR (STATUS = 'C' --CURRENT
...
December 18, 2013 at 12:46 pm
I guess you didn't like my response on your first version of this question? http://www.sqlservercentral.com/Forums/Topic1524214-149-1.aspx
When you create multiple threads on the same topic your responses get fragmented and it is...
December 18, 2013 at 12:42 pm
I didn't realize the entire scope of the issue on my first post.
You may have to go so far as adding an ItemCodeEffectiveDate to your main table to so you...
December 18, 2013 at 12:38 pm
mcfarlandparkway (12/18/2013)
Select * from SNLunchSevereNeeds Where SystemCertificationID in(
Select SystemCertificationID from SNSystemCertification where FiscalYear=2014 and
SystemID=749 And IsActive=1 )
Select * from SNLunchSevereNeeds Where SystemCertificationID in(
Select...
December 18, 2013 at 10:50 am
You don't need all the extra variables and such in these calculations either. Everything is based off getdate() so there is no need to store interim values. This can all...
December 18, 2013 at 10:18 am
MysteryJimbo (12/18/2013)
CK2 (12/18/2013)
I would use the OUTPUT Parameter approach suggested.It's more appropriate given the circumstances you describe.
I wouldn't use that approach for a simple date calculation. There are no table...
December 18, 2013 at 10:16 am
Hi and welcome to the forums. Why do you need a cursor for this? From what you posted I think you can replace the entire body of your stored proc...
December 18, 2013 at 10:02 am
sturner (12/18/2013)
December 18, 2013 at 9:32 am
You should have a primary key on your table. Since you have two columns and the values can be changed for either of them you should add an identity column....
December 18, 2013 at 9:24 am
Gillian_Pappas2002 (12/18/2013)
My posts look fine in preview then get messed up when I post it. Sorry. I have included an attachment.Thanks for all of your help.
Displaying tabular information...
December 18, 2013 at 8:21 am
Viewing 15 posts - 6,076 through 6,090 (of 15,381 total)