Viewing 15 posts - 286 through 300 (of 6,036 total)
Make a lookup table which allocates every location mentioned in the system to a correlated currency symbol.
Locales might not be sufficient for this purpose.
October 17, 2020 at 12:24 pm
I can see 3 tasks here:
- capture and record data changes;
- build a report comparing current data with the previous versions of it;
- generate HTML file out of that report...
October 14, 2020 at 10:38 am
Read about "parameter sniffing"
very common issue.
October 14, 2020 at 8:52 am
Look up for my article "age calculation" on this web site.
All is done for you. 🙂
October 14, 2020 at 3:18 am
Look for queries which are heavy on BLOB processing.
You mentioned BizTalk - do you have some massive FOR XML queries? It may be either massive XML (JSON, you name it)...
October 12, 2020 at 11:22 pm
Some people like columns. I've run into some tables with high hundreds of columns, which astounds me.
how about a table with 498 columns which is updated daily. And updated...
October 8, 2020 at 9:06 pm
Can you check if the event records in your string are separated not just by space but some special character, like CHAR(13)?
you may use output to text in SSMS, or...
October 8, 2020 at 11:16 am
Hi Des,
When running the SQL against the live data source, just to test it, i'm getting this error:
Msg 241, Level 16, State 1, Line 1
Conversion failed when converting date...
October 8, 2020 at 12:06 am
Yep, you're missing one thing.
The thing is - the offset is not a constant.
it was +10:00 yesterday, or an hour ago, but it's +11:00 now.
And your code must reflect that...
October 5, 2020 at 9:24 pm
Pay attention to details:
CREATE TABLE accounts
(
ID
INT(11) NOT NULL AUTO_INCREMENT,
CONSTRAINT FK_SESSION_HISTORY_ACCOUNT FOREIGN KEY(ACCOUNT
) REFERENCES account(ID
) ON DELETE CASCADE ON UPDATE RESTRICT,
There is not table "account" in your...
October 5, 2020 at 2:01 am
Honestly, this is why I personally find it easier to just store anything in UTC if I'm ever working with time sensitive data, or multiple timezones (and...
October 3, 2020 at 12:24 am
This will give you ID's for records with zeros wrapping the set of sequential records with 1's in between:
SELECT Last0.ID Last0_ID, next0.ID Next0.ID
FROM @T Last0
OUTER APPLY (select...
October 2, 2020 at 4:36 am
Sergiy, im not able to run the code because of missing Tally function, please provide the function script.
TIA!
Here it is:
September 29, 2020 at 4:28 pm
All you need is to convert normal numerical sequence to desired codes.
Something like this:
declare @a tinyint, @b tinyint, @t smallint
select @a = 6, @b = 4,...
September 29, 2020 at 3:01 pm
They say - the fastest internet data channel is a truck full of hard drives.
there might be a good reason to have a good data replication channel, so those 70...
September 29, 2020 at 7:35 am
Viewing 15 posts - 286 through 300 (of 6,036 total)