Viewing 15 posts - 556 through 570 (of 1,229 total)
This is a case where you can run into a infinite loop if you had something like
PARENT CHILD
-------- -------
1 ...
March 8, 2016 at 3:30 pm
Going deeper with the CROSS APPLY suggestion :
Consider something like this >
SELECT SUM(someNumberColumn) / (SELECT SUM(someNumberColumn) FROM Table) AS westCoastSalesAsA%OfTotal
FROM Table
WHERE someFilterColumn= 'west coast'
Could be done with...
March 8, 2016 at 12:23 pm
From here what you should do is is create columns in the report (just to audit) that list the return values of these functions to see what actually got returned...
March 8, 2016 at 12:09 pm
SELECT @ORDER_NUMBER = i.ORDER_NUMBER, @ID = i.ST_ID, @Name = i.FULL_NAME, @Timestamp = i.ORDER_DATE
from inserted i
This above will fail whenever the application inserted more than one row as part of...
March 8, 2016 at 11:59 am
elamranii (3/7/2016)
I put this but still getting an error:CDBL(MID(Fields!PRE_LAB_VAL.Value,INSTR(Fields!PRE_LAB_VAL.Value,"=")+1,INSTRREV(Fields!PRE_LAB_VAL.Value,"=") - INSTR(Fields!PRE_LAB_VAL.Value,"=")+1))
Thank you.
First , just to explain >
CDBL(
MID(
Fields!PRE_LAB_VAL.Value,/* column to look in */
INSTR(Fields!PRE_LAB_VAL.Value,"=")+1,/* position in the string to begin at */
INSTRREV(Fields!PRE_LAB_VAL.Value,"=")...
March 8, 2016 at 11:39 am
Hugo Kornelis (3/4/2016)
MMartin1 (3/2/2016)
select convert(varchar(1), 234523); and got back the asterisk. What the meaning was when deciding to do...
March 4, 2016 at 12:44 pm
Without the try_convert function built in, I just did a simple
select convert(varchar(1), 234523); and got back the asterisk. What the meaning was when deciding to do this, I do...
March 2, 2016 at 4:30 pm
This does make more sense. How do you handle situations when all professors are maxed out and can take no more assignments? Create a new professor? If you provide create...
February 25, 2016 at 2:14 pm
I would still not mind knowing how this applies to a real world situation. Or are we just solving a fun programming problem? I read you that you want us...
February 25, 2016 at 1:29 pm
Raxter (2/25/2016)
February 25, 2016 at 12:01 pm
Jeff Moden (2/24/2016)
MMartin1 (2/24/2016)
sharonsql2013 (2/23/2016)
Jan 2016 (2016-01-31 23:59:59.000)
, Dec 2015
and Nov. 2015
Need to be dynamic as it...
February 25, 2016 at 11:38 am
TeraByteMe (2/24/2016)
I started the job almost...
February 25, 2016 at 11:22 am
sharonsql2013 (2/23/2016)
Jan 2016 (2016-01-31 23:59:59.000)
, Dec 2015
and Nov. 2015
Need to be dynamic as it will change with...
February 24, 2016 at 5:21 pm
They both need to be listed in the database 5 times each based on the specified value of 'BreedListed' that is = 5
Why not both be 7, or three? What...
February 24, 2016 at 5:01 pm
bwinchester (2/14/2016)
February 24, 2016 at 11:55 am
Viewing 15 posts - 556 through 570 (of 1,229 total)