Viewing 15 posts - 1,186 through 1,200 (of 13,855 total)
You should get into the habit of using 'YYYYMMDD' as your literal date format. This format is unambiguous and works regardless of which 'DATEFORMAT' is in place.
Regarding your question, your...
September 11, 2022 at 10:46 am
Are you sure it's the driver causing the issue, rather than the deprecated TLS protocol? You should probably be aiming to use TLS 1.2.
September 9, 2022 at 1:26 pm
I suggest that you use a SQL query as the source for your dataflow, with output to a single column. Something like this:
DROP TABLE IF EXISTS #Place;
CREATE...
September 9, 2022 at 8:06 am
Is this a blog post, or do you have a question?
September 9, 2022 at 7:54 am
This is a very long post containing precisely zero questions.
Vetting such code is a job for a paid consultant.
September 9, 2022 at 7:53 am
To generate such a script, launch SSDT and select Tools/SQL Server/New Schema Comparison.
Select your source and target databases.
Go into Settings and select only Indexes.
Run the comparison and script out the...
September 8, 2022 at 7:01 am
Here is a dirty solution. Maybe there's a pretty solution out there that someone will come up with!
DROP TABLE IF EXISTS #Account;
CREATE TABLE #Account
(
...
September 7, 2022 at 6:10 pm
Can you provide some sample data which we can test with?
September 7, 2022 at 5:46 pm
OK, then add a Data Conversion task and convert the ContentId to an INT32, then map the converted column to ID.
September 7, 2022 at 2:06 pm
What is the datatype of the target ID column? VARBINARY, perhaps?
Is it ContentTypeId that you are mapping to it?
If yes, to both, try setting the SSIS datatype to Byte Stream.
September 7, 2022 at 1:50 pm
I'd also use a Script Task, though I'm more inclined to use C#.
Alternatively, run a DOS one-liner with an Execute Process task. The command would be something like this:
September 7, 2022 at 8:55 am
Combining two columns is a piece of cake with my code, like so:
SELECT i.employee_code
,i.paydate
,Over_time =...
September 4, 2022 at 10:04 am
Can you please post the full text of the error, as taken from the SSISDB All Executions report?
Also from the All Executions report, on the 'Overview' page, check that the...
September 4, 2022 at 8:56 am
Here's a solution which does not rely on PIVOT:
SELECT i.employee_code
,i.paydate
,Over_time = MAX(IIF(i.Paytype = 'Over_time', 1,...
September 4, 2022 at 8:50 am
doesn't work if there are more than 9 floors, or the ground floor does not have leading zeros (which it won't if it is an INT) or if basement...
September 2, 2022 at 10:58 am
Viewing 15 posts - 1,186 through 1,200 (of 13,855 total)