Viewing 15 posts - 1,681 through 1,695 (of 3,489 total)
I modified the code to make sure it would work... so this is a little different than the last version. Should work with strings of any length as long as...
November 29, 2016 at 9:42 pm
Sorry, but I beg to differ on your formula... How about
=Right(User!UserID,InStr(User!UserID,"\",CompareMethod.Text)-1)
I'm not sure where you got the value of 10 from... maybe the length of your servername?
As to where...
November 29, 2016 at 11:34 am
Some sample data to play with would help a LOT.
One way of doing it is this:
SELECT 100 As Amount, 'AB' AS CustomerID
UNION ALL
SELECT 200 , 'CD'
UNION ALL
SELECT 300, 'BB'
then folks...
November 28, 2016 at 8:22 pm
I have a stored procedure that returns records by a patient's location in the hospital. I want to be able to return all records EXCEPT those in location = C3....
November 28, 2016 at 12:05 pm
Without more details, it's hard to know what the right tool is for the job. The flexible part sounds a bit like it could be done in PowerPivot, but...
November 28, 2016 at 8:41 am
Or SSAS and Excel?
November 28, 2016 at 8:31 am
I'm sure people here can solve the problem. Like I said before, this is a classic Database 101 assignment. The point is for YOU to do it and make mistakes...
November 26, 2016 at 5:47 pm
This is one of the classic schoolbook databases to learn database design. Maybe you should read one?
November 25, 2016 at 2:58 pm
Sounds like you either didn't do any relational theory in class or you didn't ever read the homework assignments. This is database design 101.
November 25, 2016 at 1:14 pm
What is "true" or not depends on your business rules.
The easiest way to do this is one relation at a time in your ERD. If you don't know how...
November 25, 2016 at 11:24 am
Lookups are going to bite you. Remove them all, then move to SQL Server. They don't exist in SQL Server, and didn't exist in Access for a long time. Here's...
November 25, 2016 at 9:25 am
This is a homework assignment. I know, I did it when I studied too. Do your own homework. =)
November 25, 2016 at 9:14 am
You could pivot this stuff in a Matrix in SSRS and be done already. Is that not an option? Wouldn't be if you had to output this result for...
November 24, 2016 at 9:11 pm
How many possible combinations are there for "formula"? You could write a CASE statement that determined which formula to use to calculate the answer... surely must be faster than a...
November 23, 2016 at 10:00 pm
Took me a minute... if you use Windowing functions (requires SQL 2012 or later), then this is easy. The PARTITION basically groups the records together... then you can use...
November 23, 2016 at 9:01 pm
Viewing 15 posts - 1,681 through 1,695 (of 3,489 total)