Viewing 15 posts - 121 through 135 (of 1,494 total)
2) sequence i can not use , becasue the id is generated based on contatication of siteoffices id + running id, which is kept in bridge table's idpool.
You can...
June 11, 2024 at 9:02 am
Scripts that give index reccomendations are often a good starting point but you need to understand what is going on behind the scenes. I generally deal with OLTP dbs so...
June 6, 2024 at 4:10 pm
The following will reset the Total variables on the code boundary:
SELECT ISNULL(CODE, '') AS CODE, ISNULL(ID, 0) AS ID, TIP, AMOUNT, PRICE
,PRICE -...
June 1, 2024 at 8:36 am
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
Viewing 15 posts - 121 through 135 (of 1,494 total)