Viewing 15 posts - 106 through 120 (of 1,418 total)
Try returning LogDate as a datetime2 instead of datetime. Some programs, like Excel, do not format datetime very well.
The total rows suggests you have not SET NOCOUNT ON; at the...
November 14, 2023 at 8:34 pm
As you are using a trusted connection (-E for SQLCMD) it might just be easier to exec a signed stored procedure. I cannot test anything at the moment but something...
November 14, 2023 at 5:16 pm
Thanks. That is certainly worth thinking about.
November 13, 2023 at 9:19 pm
Sorry for the late reply.
Currently we have an onsite system where images/documents are stored in the database. We are considering if these should be placed on the file system, or...
November 13, 2023 at 2:19 pm
You might be able to use Convert_HtmlToXml in the following to get XML which you might then be able to process as you want.
https://sqlsharp.com/features/
I suspect it would be better...
November 6, 2023 at 9:06 pm
Are there actually still places in the wild that implement database logic primarily with stored procedures in applications?
Yes. I would have thought this is the main use of Micro...
November 6, 2023 at 4:59 pm
No one here has any experience with Dapper.
Fair enough, the SQL generated by EF is a lot better than it used to be. It is just my experience that...
November 5, 2023 at 4:47 pm
I'm concerned the Entity Framework Core...
While EF has some nice advanced features, is there any reason why the bulk of the DB access cannot be done with Dapper and...
November 4, 2023 at 5:33 pm
The hope by corporate is we get every individual AOR jobs moved to ESP instead of SQL, which solves the security issue.
What is an AOR job?
If ESP means...
November 1, 2023 at 3:52 pm
I have experience with two large systems - one with FILESTREAM blobs and the other using normal blobs. Both ultimately got migrated out of the database into an object...
November 1, 2023 at 8:27 am
Another approach would be to sign the stored procedure and create a certificate user in MSDB with appropriate permissions. It can get a bit involved but the following may help:
October 31, 2023 at 5:55 pm
I am just doing a SELECT in the procedure not an update
If you are using four part naming try using OPENQUERY instead.
October 25, 2023 at 11:25 am
There should be no need to copy data to a temp table; just replace #t with the name of your table/view and adjust the column names accordingly.
October 24, 2023 at 3:07 pm
Consumable test data:
CREATE TABLE #t
(
ID int NOT NULL
,SomeDate datetime NOT NULL
,Flag char(1) NULL
...
October 23, 2023 at 8:00 pm
ZIP files are binary files so will not save correctly as a string. Binary can be encoded as a string although the size will obviously be increased. One way to...
October 20, 2023 at 7:26 pm
Viewing 15 posts - 106 through 120 (of 1,418 total)