Viewing 15 posts - 796 through 810 (of 13,841 total)
There is a Postgres forum here. I am sure that there are others. Why not ask questions like this in a forum where the other people use the same...
September 19, 2023 at 3:06 pm
Yeah, that makes sense. But if the code is all in a single DB at the moment, I can't see why a linked server would be needed. Why not a...
September 18, 2023 at 7:08 pm
I can't think of a great way of handling this – sounds like you've considered the possibilities.
Presumably you've discounted the idea of keeping your custom code in a completely separate...
September 18, 2023 at 6:09 pm
Here is another way.
If you do something like this in PoSh, to create a delimited text file, it is then very easy to import the results in tabular form.
September 18, 2023 at 5:37 pm
Does Jonathan's (excellent) response solve your problem?
September 18, 2023 at 5:23 pm
Make the filename use the international ISO format YYYYMMDD instead of that quaint american date format and you'll have no trouble at all. 🙂
+1, this has the added benefit...
September 14, 2023 at 4:42 pm
Put the date into YYYYMMDD format before casting and it should work.
DECLARE @x VARCHAR(100) = '09142023';
SELECT @x
,SomeDate = CAST (CONCAT (RIGHT(@x,...
September 14, 2023 at 2:53 pm
Here is a possible approach.
September 13, 2023 at 9:27 am
If you would provide just 10 rows of sample data, in consumable format, it would help a lot.
September 12, 2023 at 2:05 pm
Presumably, your question is not this:
"Why are no results returned when I join on two columns containing values which do not match?"
What is your real question?
September 11, 2023 at 2:47 pm
The issue is, all of these tables dont have primary/secondary keys, which i brought in with sl code.
Because these keys dont correspond to one another it gives me these...
September 11, 2023 at 2:01 pm
Like this?
WITH ordered
AS (SELECT *
,rn = ROW_NUMBER () OVER (PARTITION BY adc.channelid ORDER BY adc.recordcount DESC)
...
September 11, 2023 at 11:36 am
You seem to have a lot of Postgres problems ... why not find a Postgres forum?
There is a button that says 'Code' in your icon bar. With >3,000 points, you...
September 10, 2023 at 6:50 pm
September 10, 2023 at 12:26 pm
Run the package in Visual Studio and add some data viewers in the data flow to find out what's going on and where the missing data is going.
I suggest changing...
September 7, 2023 at 5:19 pm
Viewing 15 posts - 796 through 810 (of 13,841 total)