Viewing 15 posts - 2,221 through 2,235 (of 15,381 total)
agerard (10/1/2015)
October 1, 2015 at 2:19 pm
agerard (10/1/2015)
ERROR_MESSAGE = A cursor with the name 'SetFirstLast' already exists.
There is no other looping...
October 1, 2015 at 2:02 pm
agerard (10/1/2015)
October 1, 2015 at 1:58 pm
To further what Alan stated about NOLOCK. When you use that hint you can and will get missing and/or duplicate data from time to time. If that is acceptable then...
October 1, 2015 at 1:33 pm
agerard (10/1/2015)
I have used cursors in a similar way 100 times (but not in a couple years). I am selecting 4 columns from a table and inserting them into...
October 1, 2015 at 1:26 pm
thbaig (10/1/2015)
Case-1
DECLARE @ProdId varchar(10) = 'Prod1',
@color varchar(max) = NULL, -- Will make it optional and logic will work on all available color ...
October 1, 2015 at 9:33 am
thbaig (10/1/2015)
How can we make color and Size optional ? if either one or both provided it should return on input . If both not...
October 1, 2015 at 7:50 am
myzus2004 (10/1/2015)
Hi Sean, Can you please point out the function name to be used from Jeff Moden splitter attachment.
Did you actually read the article or did you just want me...
October 1, 2015 at 7:18 am
This produces the expected output based on the sample data provided.
DECLARE @ProdId varchar(10) = 'Prod1',
@color varchar(max) = 'Black,Blue,bbc',
@size varchar(max) = 'L,S,M,MM';
with AllSizesAndColors as --this gets all combinations of color...
September 30, 2015 at 1:27 pm
thbaig (9/30/2015)
-- If color invalid status should be 100
-- if color is valid but size is invalid status should be 101
-- if valid...
September 30, 2015 at 1:20 pm
Grace09 (9/30/2015)
September 30, 2015 at 1:11 pm
luissantos (9/30/2015)
I need to build an update query for all my article beginning with '0.%' for my varchar field refkey, but depending on some conditions.
For example.
Case st.base <> ''...
September 30, 2015 at 1:07 pm
Just a shot in the dark here. From the title it sounds like you want to find invalid combinations among the values being passed in. There are a number of...
September 30, 2015 at 1:04 pm
What is the desired output from the values you are using? Also, as stated previously ordering by ordinal position is just bad. Don't do it. And throw that splitter in...
September 30, 2015 at 12:49 pm
Perhaps you could also post the actual query? And please do all of us a favor and the IFCode shortcuts on the left side when posting so you can format...
September 29, 2015 at 7:15 am
Viewing 15 posts - 2,221 through 2,235 (of 15,381 total)