Viewing 15 posts - 46 through 60 (of 1,418 total)
The following Quirky Update solution seems to work with the data provided:
SELECT ISNULL(CODE, '') AS CODE, ISNULL(ID, 0) AS ID, TIP, AMOUNT, PRICE
,PRICE...
May 31, 2024 at 7:34 pm
IF @TIP = 'IN'
BEGIN
SET @TOTALAMOUNT = @TOTALAMOUNT + @AMOUNT;
...
May 31, 2024 at 10:02 am
The first thing I would check is the amount of disk space available.
Also, I would rarely use RESTORE...WITH REPLACE. I would normally restore to something like MyDb202405301201 and then use...
May 30, 2024 at 10:03 am
ps. You might also want to look at a wire proxy like Gallium Data. It might be possible to put the database on a supported version of SQL Server and...
May 15, 2024 at 7:14 am
(Microsoft)[ODBC SQl Server Driver(DBNETLIB) SSL Security
It looks as thought you are trying to establish a secure connection. If using SQL Server authentication, this might just be to send the...
May 15, 2024 at 7:05 am
As PowerShell can have problems with UNC paths try something like:
New-PSDrive -Name "TxtFiles" -PSProvider "FileSystem" -Root "\\John\Data" | Out-Null
$Files = Get-ChildItem TxtFiles:\test\*.txt
Foreach ($File in $Files) {
...
May 11, 2024 at 9:14 am
Thanks for the information although I do not understand the process. I will try and look at it sometime. The sessions I am actually interested in only last a second...
May 8, 2024 at 12:12 pm
I could not find anything so I just went with a logon trigger.
May 8, 2024 at 10:18 am
What is the result of the following:
SELECT servicename, service_account
FROM sys.dm_server_services;
April 25, 2024 at 11:32 am
When replaced with a network path the code just runs through but does not restore any dbs.
Does your SQL Server service account have read permissions on the share?
April 25, 2024 at 7:37 am
Using a function on a column generally stops it being SARGABLE. (ie It will not be able to use any indexes.)
You should use:
AND CDHDR_NEW.OBJECTID LIKE...
April 16, 2024 at 1:30 pm
Using a function on a column generally stops it being SARGABLE. (ie It will not be able to use any indexes.)
You should use:
AND CDHDR_NEW.OBJECTID LIKE MM_EKKO_STAGING.EBELN +...
April 16, 2024 at 9:50 am
If you are looking at Blob Storage you might also like to consider Object Drift and Corruption. We were looking at something similar last year but it got abandoned for...
April 15, 2024 at 8:45 pm
I have resorted to setting the DATEFIRST in the SQL Agent job, but I still want to know WHY SQL agent and Query window behave differently.
Probably because the Agent...
April 15, 2024 at 1:54 pm
Try a space, not a -, between dd and hh.
April 9, 2024 at 6:36 pm
Viewing 15 posts - 46 through 60 (of 1,418 total)