Viewing 15 posts - 1,201 through 1,215 (of 6,678 total)
In Powershell - you can create a function at the top of the script, then call it later - or you can put a function in a separate file and...
March 25, 2021 at 2:59 pm
If you create the new database in SQL Server - setup the secondary replicas, then start loading data from your other system, that would work. But it is going to...
March 25, 2021 at 2:49 pm
You stated that 'for some reason' SSIS no longer works? What is that reason?
Using a linked server (assuming this is cross server access) can cause issues - with the transaction...
March 24, 2021 at 8:03 pm
I would not utilize read-intent for this scenario - that really should only be used for offloading application reads and is not intended to offload reporting users access.
Instead - upgrade...
March 24, 2021 at 6:16 pm
The failover mode doesn't matter - what matters is the mode. If the mode is asynchronous - you must switch to synchronous before failing over, or you force the failover...
March 23, 2021 at 7:52 pm
In an AG - you need to replicate logins and agent jobs to each secondary that can be used for failover. The logins must be created on the secondary with...
March 23, 2021 at 6:49 pm
I am not sure what you expect - I have provided more than enough examples to get you what you need.
From my previous post:
Here are some hints:
# Encoding check...
March 23, 2021 at 6:34 pm
What OS is being used - is it x86 or x64 OS? Since this is SQL Server 2005 - I suspect you might have an older x86 OS. If so...
March 23, 2021 at 5:07 pm
I provided examples of how to work with the BOM and use that - I recommend (strongly) that you do so - instead of the earlier hack I provided to...
March 22, 2021 at 8:02 pm
As I pointed out in my other posts - that check for 'unicode' is not the best option. The best option is to check for the specific BOM characters for...
March 20, 2021 at 5:19 pm
Here are some hints:
# Encoding check arrays
[byte[]]$utf7 = 43,45;
[byte[]]$unicode = 255,254;
[byte[]]$utf8 = 239,187,191;
if (-not (Compare-Object $bytes[0..1] $unicode)) {
... March 19, 2021 at 5:02 pm
If the file was created with a BOM (byte order mark) - you can use that to determine the encoding. Unicode\Unicode (Big-Endian)\Unicode (UTF-32)\Unicode (UTF-32 Big-Endian)\UTF-8 all have a definition for...
March 19, 2021 at 4:02 pm
A picture is worse than an Excel spreadsheet - we can't take that information and create a test. You also didn't provide sample data...
BTW - this forum deals with Microsoft...
March 18, 2021 at 9:58 pm
SSIS packages are not running at all. error message saying that the not able to log on.
and link servers are not connecting either.
These are not really issues with SQL...
March 18, 2021 at 9:43 pm
Not sure what else to say - you seem to have files with different encodings, and worse - some files in UTF-7 which has been deprecated for quite a while.
Since...
March 18, 2021 at 8:43 pm
Viewing 15 posts - 1,201 through 1,215 (of 6,678 total)