Viewing 15 posts - 31 through 45 (of 147 total)
Try the below:
For the values and states
Up Arrow Indicator
Start = 1 End = 1
Down Arrow Indicator
Start = 2 End = 2
Some other indicator to capture where they are the same...
October 8, 2014 at 9:07 am
Not a happy chap with some of the help being offered! Go figure 🙂
Qira (8/18/2014)
Dear Mr Higgam,You're helping me sir. Thanks to you. But no thanks to other one.
http://www.sqlservercentral.com/Forums/Topic1604205-392-2.aspx
August 18, 2014 at 2:47 pm
Qira (8/18/2014)
Dear Mr Higgam,You're helping me sir. Thanks to you. But no thanks to other one.
Thank you for the feedback. I have to say g.britton gave some very valid...
August 18, 2014 at 2:42 pm
gbritton1 (8/18/2014)
higgim (8/18/2014)
gbritton1 (8/18/2014)
...or add the equivalent check constraints and let SQL Server do it for you...
Whilst this is fine and dandy when an insert occurs which fails the checks...
August 18, 2014 at 6:41 am
gbritton1 (8/18/2014)
...or add the equivalent check constraints and let SQL Server do it for you...
Whilst this is fine and dandy when an insert occurs which fails the checks an error...
August 18, 2014 at 6:08 am
or you could just do this 🙂
UPDATE dbo.process_ApplyJob_1
SET checkingStatus = 1
WHERE ( SexID = r_SexID )
...
August 18, 2014 at 5:32 am
Based on what you posted try the below. The only way I could think of doing this was using a massive case statement. (I'm sure someone may come...
August 18, 2014 at 5:06 am
That should sort it.
DECLARE @somedates AS TABLE ( update_time DATETIME )
INSERT INTO @somedates
( update_time )
VALUES ( '2014-08-14 14:14:35' ),
...
August 14, 2014 at 8:20 am
This any good?
SELECT DATEADD(dd, -( DATEPART(dw, update_time) - 1 ), update_time) AS [Week Commencing] ,
DATENAME(mm, update_time) AS 'Month' ,
...
August 14, 2014 at 7:11 am
By chance in one of the query windows are there any open transactions which have not yet been committed? (Just a guess which could be completely wrong)
Ignore the above...
August 8, 2014 at 7:10 am
Could you provide some sample data and what the expected result in please and I will have a look
April 25, 2014 at 7:07 am
What is the length roughly of each value you are passing into the text box and how many items when you "Select All" are in the list?
Are there...
April 17, 2014 at 4:59 am
More for Sean this one. Since I saw your comment it's been bugging me all afternoon (hate writing iffy code but still learning) so had another attempt which may...
April 9, 2014 at 9:32 am
Sean - Would be interested in seeing a better approach to this purely from a learning point of view.
April 9, 2014 at 8:12 am
You could try adding some primary keys etc onto the tables. An actual execution plan would be a good start
April 9, 2014 at 7:25 am
Viewing 15 posts - 31 through 45 (of 147 total)