Viewing 15 posts - 511 through 525 (of 2,648 total)
SSL error - encryption needs to be setup correctly or disabled on the client connection string
trust server certificate below may need to be ticked if this was a SSMS connection.
for...
April 26, 2023 at 10:00 am
assuming the recipient of the file is able to correctly process a CSV file you need to ensure that the SSIS flat file destination is set to Quote the fields...
April 25, 2023 at 9:37 pm
I would say that you have a trigger on that table that is removing seconds from the column.
and I also assume you are clearing that table in order to do...
April 24, 2023 at 8:06 pm
can you try
select top 1 quote_date, convert(varchar(26), time_stamp, 121)
from dbo.OptionsEOD
order by 1
April 24, 2023 at 7:24 pm
can you show both the select statement and the output - only for the one that is failing, nothing else.
April 24, 2023 at 6:23 pm
your query does not tell us which table has the wrong data.
but assuming it is DBO.OptionsEOD try the following change on your dynamic SQL
EXEC('BULK INSERT #TEMP_TABLE
...
April 24, 2023 at 5:06 pm
Hey Bruin I have to ask are you trying not to get help? I mean several individuals posted items that your initial post was lacking and you have made...
April 21, 2023 at 10:49 pm
have a read at this https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/register-a-service-principal-name-for-kerberos-connections?view=sql-server-ver16
with it you are likely able to determine it yourself.
one thing you will need to determine is if you have a double hop situation -...
April 21, 2023 at 1:50 pm
some of those variables need to be explicitly converted to varchar - example below for @@SPID
INSERT INTO Logs.dbo.LogonInfo (Spid, UserName, LogonDate, ClientNetAddress, HostName)
VALUES (convert(varchar(200), @@SPID), SUSER_NAME(),...
April 19, 2023 at 12:27 pm
and have you done as I advised on your original thread (https://www.sqlservercentral.com/forums/topic/tracking-of-accounts-data-and-stored-procedures) and debugged your code to see what you are doing wrong?
if so what step within your multiple SP's...
April 19, 2023 at 12:25 pm
YOU (not us) need to debug your code - this means going step by step through it and seeing if each step has the data you are expecting.
not going to...
April 18, 2023 at 5:19 pm
you would need to use a different tool for it (DBCC SHOWCONTIG ) - but how many do you have with compat 80? and can't you change them to compat...
April 18, 2023 at 9:18 am
dup post - see reply on https://www.sqlservercentral.com/forums/topic/code-correction-4#post-4175569
April 18, 2023 at 8:32 am
your issue is because you have databases on that 2008R2 instance that are compatibility level 80 (sql 2000) where dm_db_index_physical_stats didn't exist.
if you wish to confirm change your code as...
April 18, 2023 at 8:29 am
What does this insert script look like?
have you even bothered reading the link that ratbak provided? your reply clearly indicates you didn't.
April 17, 2023 at 7:23 pm
Viewing 15 posts - 511 through 525 (of 2,648 total)