Viewing 15 posts - 661 through 675 (of 6,678 total)
If I couldn't keep every file in a local folder - so that I could use a simple File.Exists() in C# to determine if the file has already been downloaded,...
January 30, 2022 at 5:08 pm
So - we all say that using SELECT * is a 'bad' example. However - there are many places where it can be used that is not only safe but...
January 29, 2022 at 5:48 pm
Thanks the above query worked great. If I wanted to do a daily extract of records saying start at 00:00 to 11:59 how would that query look?
Since the data...
January 29, 2022 at 5:23 pm
Curious - why do you need to create a script task and execute a SQL query in that script task? If this is a one-time call to get/set some variable(s)...
January 29, 2022 at 4:55 pm
Another possibility is a bit shorter, uses only LIKE instead of LIKE and the LEN() function, and does the same thing is...
IIF(D.Zip LIKE '[0-9][0-9][0-9][0-9][0-9]', d.Zip, '99999')...
January 29, 2022 at 4:30 pm
You need to create a credential in SQL Server for the domain account ABC\xxx. Once that is created - create a proxy account for the appropriate subsystem (Powershell or Operating...
January 28, 2022 at 9:00 pm
Here is a script you can use to monitor the restore process
Select r.command
, s.text
,...
January 24, 2022 at 8:26 pm
ok thank you for support and help
As Jeff stated on the other forum - not the response we were looking for...
January 23, 2022 at 3:26 pm
If the request isn't clear - then how could anyone provide a solution? What is the goal of adding an AG to the FCI cluster - what is trying to...
January 23, 2022 at 3:21 pm
You have been posting long enough now to know that you need to provide what you have tried - and where you are having issues.
January 22, 2022 at 4:57 pm
It isn't clear what you are asking - or what problem you are trying to solve.
Is it possible to add an AG to an FCI clustered instance? Yes.
Is it possible...
January 22, 2022 at 4:56 pm
SQL Server installation only creates the system databases - it does not create any user databases. The user database in your picture was either created through another script executed after...
January 22, 2022 at 4:35 pm
It seems to me you are making it much more complex than needed. As you have stated, you need to cursor over the data and determine insert vs update -...
January 21, 2022 at 9:01 pm
Did you back up the encryption keys - and restore them to the target server? See: https://www.sqlshack.com/moving-the-ssisdb-catalog-on-a-new-sql-server-instance/
Note: I don't recommend restoring the SSISDB database. Upgrading to a new edition will...
January 16, 2022 at 5:23 pm
Instead of using a CASE expression (as you were trying) - or stacked OR's:
WHERE @mDepth > iif(@tDepth = 0, -1, @tDepth)
Consider: @mDepth >= 0 is equivalent to @mDepth > -1
Of...
January 14, 2022 at 7:06 pm
Viewing 15 posts - 661 through 675 (of 6,678 total)