Viewing 15 posts - 1,306 through 1,320 (of 13,849 total)
Does the data come from a single database? Performance-wise, I'd suggest doing as much of the 'heavy-lifting', in terms of ETL and combining result sets, using the SQL Server database...
July 5, 2022 at 7:33 am
Hi Phil,
I would like to create the same script without using a UNION, but I'm not sure how to do that.
It is impossible. Remove UNION from the script and...
July 4, 2022 at 11:33 am
OK ... but what is your question?
July 4, 2022 at 11:27 am
If you want someone to attempt a coded solution, please provide the sample data in a consumable format. With > 3,000 points, I'm sure you know what that means.
Also, it...
July 4, 2022 at 9:18 am
It really is great when people are polite, enthusiastic and post back with gratitude. Pleade keep on posting and learning.
July 3, 2022 at 8:02 pm
I am Phil, just like you told me so. But i wouldn't like to "repeat" the company name. Is this the only way? Can't i write Company instead of...
July 3, 2022 at 6:08 pm
This, maybe? (Assuming you are using the table aliases I suggested)
CONCAT(cd.Serie, ' - ', 'S&A', ' - ',ld.CCustoCBL) AS JoinCC
July 3, 2022 at 3:34 pm
Ah, please ignore my first answer, which would add a column to a physical table. If all you want to do is add another column to the query, it's as...
July 3, 2022 at 1:07 pm
Here is some code which demonstrates this. Notice that I have changed your constraint name to follow the convention DF_[tablename]_[columnname], because constraint names must be unique (within schema).
July 3, 2022 at 12:22 pm
UPDATE tbl_salesactivity_new sn INNER JOIN arh ar ON sn.shipment = ar.shipment_i AND ar.ardelay > '0' SET sn.delay = 'Yes'
That is almost correct. Just need to shuffle things round a...
July 3, 2022 at 9:16 am
If you provide your sample data in a more accessible form, like this, you will probably get more responses:
DROP TABLE IF EXISTS #Transaction;
CREATE TABLE #Transaction(Transaction_Id INT, Date_Transaction...
July 1, 2022 at 6:50 am
This question is strikingly similar to this one.
Perhaps the responses you received there were not to your liking? You did not even have the courtesy to respond to the...
June 30, 2022 at 11:29 am
I need to create one table to accommodate this scenario to record the courses each worker did in each job every year.
Whoever asked you to do this needs to...
June 29, 2022 at 6:27 pm
This possibly means that there is a 32-bit version of the driver installed on the server but not a 64-bit version.
June 28, 2022 at 3:51 pm
I suggest you get out of the habit of writing = NULL. Instead, write IS NULL. NOT is very useful, do not discard it!
June 28, 2022 at 11:46 am
Viewing 15 posts - 1,306 through 1,320 (of 13,849 total)