Viewing 15 posts - 601 through 615 (of 2,356 total)
If possible, the schema of the tables would help.
December 14, 2021 at 1:33 pm
0.0000005328 is not an integer. When you cast or convert it, it will be 0. The decimal portion is truncated. The largest number a Numeric (18,18) can hold is 0.999999999999999999.
It...
December 14, 2021 at 1:30 pm
One of the annoying things about the $(ESCAPE macros is that they are recognized only in job code (at least the last time I checked this).
So you'll have to...
December 13, 2021 at 9:21 pm
I took a smaller db backup from the STD2012, and was able to restore to my SQL2017 instance. I can't move the backup to the sql2017 Box as it...
December 13, 2021 at 7:53 pm
For the credentials, we have the datasource to use a specific username/pwd...see attached.
Ok, have you verified that the network settings of the new server are set properly? Is it...
December 13, 2021 at 6:46 pm
I glanced at this article. You do realize that this was written 12 years ago, and that there are far easier ways to do most of this?
Like this maybe?
If...
December 13, 2021 at 6:45 pm
A better question is what are you attempting to do?
Because it looks like you are trying to generate T-SQL code based upon a situation. Like, one proc to run everything. ...
December 13, 2021 at 6:31 pm
I was asking the question of a stripped backup because maybe Transferring the 45gig caused a problem. I thought maybe smaller files could be moved quickly and eliminate file...
December 13, 2021 at 6:27 pm
This has nothing to do with connections to the database. It's a connection POOLING issue.
Check this out. https://docs.microsoft.com/en-us/dotnet/framework/data/adonet/sql-server-connection-pooling
A simple Google search of "This may have occurred because all pooled...
December 13, 2021 at 6:06 pm
We upgraded from SQL Server 2016 to 2019, and our reports on the report server now say:
An error has occurred during report processing. (rsProcessingAborted) Cannot create a connection to...
December 13, 2021 at 5:55 pm
I can't say with 100% certainty the cause of the error, but to me that doesn't look like TSQL.
What I mean is the $ part and ESCAPE_NONE. I don't...
December 13, 2021 at 5:45 pm
Makes sense, but I still can't wrap my head around why you would want a column that contains an arbitrary incremental, albeit not.. consistent number that also isn't unique.
Why...
December 9, 2021 at 6:58 pm
I would pick Extended Events to monitor deadlocks
https://www.mssqltips.com/sqlservertip/5658/capturing-sql-server-deadlocks-using-extended-events/
December 9, 2021 at 5:34 pm
I suppose the only time I've ever really USED identity column I also identified it as the PK. I guess I'm not really sure why else you would use...
December 9, 2021 at 5:07 pm
Viewing 15 posts - 601 through 615 (of 2,356 total)