Viewing 15 posts - 2,176 through 2,190 (of 13,855 total)
... creating new database and porting it's table structures ...
Why would you even consider this, when you have BACKUP/RESTORE as the obvious alternative?
February 16, 2021 at 1:54 pm
Does this 'system' already have its own database? What is the reason for this migration and why are you considering throwing away the existing database?
As the data in the 'system'...
February 16, 2021 at 1:13 pm
OK, no idea what's going on here. Stored procedures get executed, not pulled.
If your application worked fine on one server but not the second, I'd suspect either a configuration error...
February 15, 2021 at 4:46 pm
Please explain what you mean by "... unable to pull into application ...".
Which application? What do you mean by "pull"?
February 15, 2021 at 9:49 am
What is the purpose of this CLR and how does it relate to SQL Server?
February 15, 2021 at 9:44 am
If you know the folder path in advance, you can simply remove it to get the file name:
DECLARE @BackupFilePath VARCHAR(300) = 'E:\Backup\Server1\Database1\Database1_131983519013.bak';
SELECT
@BackupFilePath
, ...
February 14, 2021 at 12:07 pm
Bolting them all together at the end sounds clean enough to me – also makes it easier to maintain when things change (adding or removing files, changing file order etc)
February 12, 2021 at 12:04 pm
I don't know the answer.
But keeping the compatibility level unchanged does not imply that the CHECKDB process will also be unchanged. Perhaps the checks have become more thorough and therefore...
February 11, 2021 at 12:02 pm
Is this the sort of thing you are after?
--Set up test data
DROP TABLE IF EXISTS #CatTable;
CREATE TABLE #CatTable (Id INT, Category INT, CategoryDate DATE);
INSERT #CatTable (Id, Category,...
February 10, 2021 at 3:41 pm
I've decided to get back to using week, which treats week 1 of 2021 as a week with one working day only, like it should be
So are you stating that the...
February 9, 2021 at 4:15 pm
How to put this information in a single row showing id,firstname,lastname, address1,postcode1,address2,postcode2,email1,email2,First Family(flag), Second family(x)? If there is no second address it should show just one address.
What do First Family(flag)...
February 8, 2021 at 3:33 pm
Are you talking about modifying the existing data, or adding new rows of data, to achieve this? Out of interest, can you explain why you would want to do this?
Either...
February 8, 2021 at 11:32 am
OK, try this (I used a temp table, so you need to rename #vehicles accordingly)
SELECT
model
, engine_size
, MN.model_cnt
, ...
February 7, 2021 at 9:10 pm
I'm not familiar with Query Builder. Can it use temp tables or subqueries?
February 7, 2021 at 9:03 pm
I can probably help. But you need to help explain, in English, how your desired results are to be obtained.
In your sample data, for example, the FIESTA has multiple engine...
February 7, 2021 at 7:44 pm
Viewing 15 posts - 2,176 through 2,190 (of 13,855 total)