Viewing 15 posts - 151 through 165 (of 2,568 total)
regarding adding the details to the same line I gave you the way to do it - using Expressions @{N='Name'; E=Expression} you can add anything you wish to the output.
another...
April 5, 2024 at 1:40 pm
code had a "," too many.
below works
$location = "C:\TEMP\FailedSQLLoginSearch_AllSvrs.csv"
$Names = Import-Csv -Path $location
foreach($n in $Names)
{
try {
...
April 4, 2024 at 5:51 pm
Sigh. I wish I could take comfort in "Your emergency is not my emergency." Sadly, my job makes other people's emergencies my emergency.
Any powershell gurus around? I'm still in...
April 4, 2024 at 3:36 pm
try the following.
assuming that your csv file (you have it as xlsx which I believe may be a typo) contains 3 columns - SQLServerName, IPAddress and LoginName
foreach($n...
April 4, 2024 at 3:34 pm
it could be other things and just seeming like that to your Oracle team. reason for me asking for the code you use was also to see if there had...
April 3, 2024 at 2:34 pm
You need to add a
GO
before the second insert.
and how will that work within a Stored Proc?
April 2, 2024 at 11:12 am
could you supply the code that is doing that insert - including both the retrieval of data from SQL Server and the sending to Oracle.
And DDL for source columns being...
March 28, 2024 at 4:49 pm
and I have to query the design of that process - why do you have 2 different VM's trying to delete older rows from dbo.Logs_Epass without any other criteria than...
March 25, 2024 at 1:00 pm
with few exceptions, and when number of cpu is now, maxdop should not be set to higher than half the number of cores - so one query does not hog...
March 25, 2024 at 12:03 pm
not if you need to keep part of the data on the source table - a SWITCH means all table contents gets "moved" to a new table, or 1 partition...
March 23, 2024 at 5:57 pm
Frederico,
Do you have a sample script with oracle bulkcopy that I can use in SSIS?
sample DTSX package attached.
you will also need to install Oracle Client for Microsoft tools -...
March 23, 2024 at 4:24 pm
I also download at least the latest version of the "ACE" driver/providers so that I don't need to go anywhere near SSIS just to import a spreadsheet.
https://www.microsoft.com/en-us/download/details.aspx?id=54920&irgwc=1
even...
March 22, 2024 at 8:46 am
you can start by reading the manual - https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/get-date?view=powershell-7.4
and as alternative, you pass your desired date in date format to your sql, and within the sql itself you...
March 22, 2024 at 12:27 am
Frederico,
Do you have a sample script with oracle bulkcopy that I can use in SSIS?
I'll see if I can find one - I know I have some outside SSIS,...
March 21, 2024 at 3:25 pm
there are commercial tools for it , and this one from MS https://www.microsoft.com/en-us/download/details.aspx?id=103016 - never used it though
March 21, 2024 at 10:26 am
Viewing 15 posts - 151 through 165 (of 2,568 total)