Viewing 15 posts - 256 through 270 (of 748 total)
What is the collation?
Does it look that way in SSMS (or another application/client?)
If SSMS, check this article for how to set grid to display unicode characters. It suggests Arial...
October 21, 2022 at 4:54 pm
I've attached the sample data
Where? I don't see any input data.
October 20, 2022 at 9:19 pm
Arithmetic overflow error converting nvarchar to data type numeric.
For what value(s)?
Can you provide DDL & sample data scripts to reproduce?
I realize this probably isn't your design, but it's a great...
October 20, 2022 at 8:16 pm
If it's varchar and not nvarchar...
That's probably not the actual character -- rather what SSMS is translating it to for display.
You can use a tally table or tally function (see...
October 20, 2022 at 6:01 pm
Is this for reporting queries? Is this approach driven by knowledge/belief that the query is too expensive to run repeatedly or blocks other processes? Are the tables used in the...
October 17, 2022 at 10:56 pm
October 17, 2022 at 7:21 pm
You can replicate to multiple subscribers on multiple servers.
Replication shouldn't care what edition.
October 14, 2022 at 10:27 pm
Check out Aaron Bertrand's article: What is the fastest way to calculate the median?
October 14, 2022 at 5:59 pm
@CleanupTime is in hours. Four weeks is 672 hours.
October 14, 2022 at 1:14 pm
I strongly encourage you to store date/time data as datetime or datetime2 datatype, not varchar. This will enable use datetime math and/or functions, efficiently compare datetime values, & to avoid...
October 11, 2022 at 1:47 pm
No. Other sessions won't change your session's transaction count (except perhaps if they caused sufficient blocking to make your connection/transaction time out).
A trigger could execute in/as a result of your...
October 11, 2022 at 1:32 pm
What is the data type for the source date columns? char(6)? int? Or are they actually date datatype?
October 10, 2022 at 2:34 pm
Are you talking about a deployed report in a browser?
If so, have you verified that it does nothing using browser developer tools or monitoring network traffic? Have you examined SSRS...
October 10, 2022 at 1:25 pm
https://stackoverflow.com/questions/13821161/find-change-tracking-time-in-sql-server
select tc.commit_time, ....
from
changetable(changes <table>, 0) c
join sys.dm_tran_commit_table tc on c.sys_change_version = tc.commit_ts
October 6, 2022 at 1:16 pm
\r is carriage return. \n is line feed. So typically in Windows you're searching for \r\n
October 4, 2022 at 11:33 am
Viewing 15 posts - 256 through 270 (of 748 total)