Viewing 15 posts - 166 through 180 (of 242 total)
and i was under the impression that this is SQL 2014 forum..
November 30, 2017 at 1:04 pm
not sure, wrote this script long time ago -- modify it as you like
SET QUOTED_IDENTIFIER OFF
SET ANSI_NULLS ON
set nocount on
declare @t as...
November 30, 2017 at 12:56 pm
will this help
SELECT SCHEMA_NAME(so.schema_id) AS schema_name ,
OBJECT_NAME(p.object_id) AS object_name ,
p.partition_number ,
p.data_compression_desc ,
dbps.row_count ,
...
November 30, 2017 at 10:46 am
here is how I will troubleshoot.
download handle.exe https://docs.microsoft.com/en-us/sysinternals/downloads/handle
add another step in job to run handle.exe x:\.......errorlog.log' when the 1st step fails
in theory this should...
November 30, 2017 at 8:53 am
right click database --> task -- Generate Scripts
choose objects --> script entier database
set scripting options --> advanced
select 'schema only' for 'types of data to script'
November 28, 2017 at 2:27 pm
I agree with Jeff, I use this to shrink and/or fix VLF -- modify it as you like
declare @org_size table (file_id int, database_id int,db_name varchar(400), type_desc varchar(5),pn nvarchar(2000),size_in_mb...
November 28, 2017 at 1:55 pm
also check os level backup might be locking the file and/or change time for your sql job to avoid collision
November 28, 2017 at 1:43 pm
I may be wrong, but as far as i remember SQL_Latin1_General_CP1_CI_AS and Latin1_General_CS_AS are the same, only difference is Latin1_General_CS_AS is used in analysis services ...
November 28, 2017 at 11:52 am
is this what you are looking for ?
-- create table for fist run
IF object_id('msdb..my_sysjobs') is null
begin
select * into msdb..my_sysjobs from msdb..sysjobs
end
-- send...
November 28, 2017 at 11:39 am
I believe so
November 21, 2017 at 9:33 am
I suppose server is reachable from sql server box. try ping or telnet to check if port is open, if it is then play with "Server Options" in "New Linked Server"...
November 17, 2017 at 12:13 pm
use icACLs command to copy the permission, google it dont ask me 🙂
easy way: give permission to 'everyone' on the root of the drive.. (not recommend)
November 17, 2017 at 12:08 pm
lucky you ..
set nocount on
use test
select 'backup database ' + cast(db_name() as varchar) + ' filegroup = ''' + name + ''' to disk =...
November 15, 2017 at 12:06 pm
Viewing 15 posts - 166 through 180 (of 242 total)