Viewing 15 posts - 3,361 through 3,375 (of 13,874 total)
Hello,
I need to process stock information by day, but the database stores the info per week, using a column for each day.
I've tryed using unpivot but I need to...
September 3, 2019 at 1:39 pm
I think it's just a misleading error from SQL dump, can it be ?.
More info - Package works fine when running from Visual studio. Only on the server when ...
September 2, 2019 at 1:45 pm
What does the All Executions report show?
August 31, 2019 at 11:39 pm
How far can they get? Can they run reports too?
August 30, 2019 at 4:03 pm
I thought that it was open only to authenticated users. Are you saying that unauthenticated users have access?
August 30, 2019 at 3:51 pm
Your table design is not normalised.
How about using something like (UserId, QuestionNumber INT, Response CHAR(1))?
Then your query becomes easy. And increasing the number of questions in future does not require...
August 30, 2019 at 3:49 pm
Here's a code sample which demonstrates the technique:
DECLARE @SomeText VARCHAR(50) = '1 2 3 4 5 blah blah';
SELECT @SomeText
...
August 27, 2019 at 7:55 pm
Replace the spaces first, then read the first 5 characters of the replaced string ...
LEFT(REPLACE())
August 27, 2019 at 7:34 pm
Many Thanks! Last question, for the Junction table do I want to store a record for all possible language per user? Or only the languages they have selected only?
Only...
August 27, 2019 at 4:34 pm
This is the sort of thing:
DROP TABLE IF EXISTS #User;
DROP TABLE IF EXISTS #Language;
DROP TABLE IF EXISTS #UserLanguage;
CREATE TABLE #User
(
UserId INT NOT NULL...
August 27, 2019 at 2:04 pm
Your first 'query' is actually 10 separate queries producing 10 discrete result sets.
Assuming you're just going to UNION ALL the first query, this is still impossible to solve without adding...
August 27, 2019 at 12:48 pm
Do you even have SQL Server installed somewhere?
Because your code does not run. Even your modified code is riddled with errors. Here's a sample:
August 27, 2019 at 12:31 pm
Note to OP: please try running your own query. And then, please fix it so that it works 🙂
August 27, 2019 at 1:40 am
To pass this info back to an app near the client, are you going to send a string list of language names? Ugh, that seems worse to me, I'd...
August 27, 2019 at 12:41 am
Good start, but your query does not parse and you have not provided your desired results.
August 27, 2019 at 12:23 am
Viewing 15 posts - 3,361 through 3,375 (of 13,874 total)