Viewing 15 posts - 136 through 150 (of 296 total)
I think this is also posted here https://www.sqlservercentral.com/forums/topic/restore-database-on-azure-vm-fails
February 12, 2020 at 11:18 pm
Thanks for the test data. The following should work. I tested it with a few combinations with no errors.
drop table #outputTable
CREATE TABLE [#outputTable](
[FirstName] [varchar](255) NULL,
[LastName] [varchar](255) NULL,
[RowNumber]...
February 11, 2020 at 2:47 pm
I'm not sure about the null issue. Using convert rather than cast might help but I'm not sure.
Can you post some test data? It would really increase the chances of...
February 10, 2020 at 6:04 pm
I think, but I'm not sure, it's because @pFirstRow and @pLastRow are ints. The compiler sees these int values and the '+' signs and tries to convert the strings to ints so...
February 10, 2020 at 5:41 pm
All,
Sorry - please ignore this question. A simple mistake reading the results on the posts table. The query works as expected. I had been looking at it for a couple...
February 10, 2020 at 5:30 pm
This seems to work:
EVALUATE
FILTER (ADDCOLUMNS(
Posts,"Created year",Year(Posts[CreationDate])
),
AND(
AND (Posts[FavoriteCount]>1,Posts[ViewCount]>10)
,SEARCH ("SQL",Posts[Tags],1,0)>0)
)
The logic is that the first parameter of filter can either be a table or a filter or, as...
February 7, 2020 at 10:31 am
Thanks (to all) for the advice and links. This seems to be helpful too.
Organizational structuring is not so difficult. But the structuring of the cost (6 levels) is...
February 5, 2020 at 4:33 pm
One thing that I forgot to mention about partitions is that one of the things you can do is store different parts of the table on different storage. The application...
February 5, 2020 at 2:28 pm
I believe starting with 2016 SP1 there is support for partitioning with all editions.
Sue is correct.
More details (2016): https://docs.microsoft.com/en-gb/sql/sql-server/editions-and-components-of-sql-server-2016?view=sql-server-ver15
More details (2017): https://docs.microsoft.com/en-gb/sql/sql-server/editions-and-components-of-sql-server-2017?view=sql-server-ver15
There is an overview of partitioning here https://docs.microsoft.com/en-us/sql/relational-databases/partitions/partitioned-tables-and-indexes?view=sql-server-ver15
Can...
February 4, 2020 at 9:35 pm
I think I've solved it. I need to do some more testing and then, if it works, I'll post in case it helps others.
February 4, 2020 at 6:46 pm
Thank you. Sorry I checked the syntax a few times, before posting, but missed that. Unfortunately I'm still struggling to combine the add columns and filter.
The AddColumns on it's own...
February 4, 2020 at 6:01 pm
Sorry to add to all the questions:
Has NodeB ever worked correctly as the primary node since the Availability Group was setup?
When you failover to hostB is the IP for the...
February 3, 2020 at 5:24 pm
Thanks for your help.
Just before your latest posted I tried a further restart of the host and, for some reason, it's working. Sorry I can't provide an explanation as I...
January 31, 2020 at 7:18 pm
In the log folder I found some .trc files. One of the entries is "Audit login failed". The text is:
"Network error code 0xe8 occurred while establishing a connection; the connection...
January 31, 2020 at 5:18 pm
Viewing 15 posts - 136 through 150 (of 296 total)