Viewing 15 posts - 2,851 through 2,865 (of 8,761 total)
124420294 (11/4/2016)
Is it possible to combine VSS snapshot-based backup with transaction log backups?
Traditionally,people do native full backups, and do more frequent differential and log backups that can then be...
November 9, 2016 at 6:24 am
Ed Wagner (11/9/2016)
DamianC (11/9/2016)
snowmanFrosty
Trumped
November 9, 2016 at 5:39 am
ramyours2003 (11/9/2016)
I would like to know the t-log grow as the databases are in simple recovery , how can we calculate the growth of transaction log file ?
You can't really...
November 9, 2016 at 5:37 am
Snargables (11/8/2016)
I'm hvaving the same issue. Does anyone know how to resolve or point me in the right direction?
Snargables, suggest you start a new thread on this, not many are...
November 9, 2016 at 5:34 am
November 9, 2016 at 5:26 am
This is well within the limits of using a script file, assuming that the actual data isn't too large and that the end customer can unzip the script file;-)
😎
Additions and...
November 9, 2016 at 4:40 am
Close all connections to the server and do the changes via sqlcmd, don't use SSMS
😎
The command is
EXEC sp_configure 'user connections', 32767;
November 9, 2016 at 4:29 am
Minnu (11/9/2016)
Dept table with 8 records
Logins table with 23 records
below query should display 31 records, but it is displaying 184 records (8*23=184).
i want below query to display...
November 9, 2016 at 2:53 am
If the database is small then my choice would be to provide scripts to create and populate the database.
😎
Question, will you at any stage have to update or refresh the...
November 9, 2016 at 2:37 am
sqlenthu 89358 (11/9/2016)
November 9, 2016 at 2:32 am
You will have to use dynamic SQL, here is a quick example
😎
USE TEEST;
GO
SET NOCOUNT ON;
DECLARE @COL01 NVARCHAR(MAX) = N'COLUMN_01';
DECLARE @COL02 ...
November 9, 2016 at 2:04 am
ramana3327 (11/8/2016)
Hi,How can we make database owner to sa default with the database refresh. With the database refresh, we are getting the person name that are refreshing
November 8, 2016 at 11:57 pm
Sometimes I use this ad hoc method which is very simple but works like a charm
😎
First a staging table
IF OBJECT_ID(N'dbo.TBL_FLAT_FILE_IMPORT_STAGING') IS NULL
BEGIN
CREATE TABLE dbo.TBL_FLAT_FILE_IMPORT_STAGING
(
FFIS_ID ...
November 8, 2016 at 11:21 pm
dec_obrien (11/8/2016)
Hi,Yes, that works thanks. I think I need to find out why though: I haven't used CROSS APPLY before.
You are very welcome.
😎
Here is a brilliant article on the subject,...
November 8, 2016 at 10:41 pm
Quick suggestion, unpivot the rows and apply the row_number with a partition on the ID
😎
USE TEEST;
GO
SET NOCOUNT ON;
IF OBJECT_ID(N'dbo.tblHierarchy') IS NOT NULL DROP TABLE dbo.tblHierarchy;
CREATE TABLE [dbo].[tblHierarchy](
[ID] [int] IDENTITY(1,1) NOT...
November 8, 2016 at 4:13 am
Viewing 15 posts - 2,851 through 2,865 (of 8,761 total)