Viewing 15 posts - 916 through 930 (of 13,445 total)
There's no difference ETL wise.
having SPARSE columns lets SQL optimize for mostly null values, and that's under the hood, albeit potentially a bit slower.
I think of sparse columns the same...
June 8, 2016 at 9:18 am
I found this interesting, so i duplicated your issue.
I created a couple of server triggers, backed up master and restored it as a new name [masterbackup]
even though i've connecting via...
June 8, 2016 at 8:12 am
also, check your schema changes history. if not too much time has occurred, the definition might still be in the default trace.
June 8, 2016 at 7:56 am
Sure, its part of a scripti share here that checks for all invalid objects. It triesto recompile procs, functions and views.
June 8, 2016 at 4:36 am
yes, but it's TWO tables that are affected. you want to truncate both parameters and events. i think it might require a DELETE, as i think there is a foreign...
June 7, 2016 at 9:42 am
tiny tables.
small tables will not benefit from reindexing. only your large tables.
offhand, i think it's 1000 rows or less don't get any fragmentation benefit/results from reindexing, but we could look...
June 7, 2016 at 9:37 am
i've done something similar.
i use sys.views and not information schemas; there's a LOT of information missing in those compatiblity views, so i avoid them like the plague.
select
'exec...
June 7, 2016 at 9:24 am
i've had to address the same problem.
McAfee usually installs on an instance of SQL Express which has a hard internal limit of ten gig on the database;
available disk space will...
June 7, 2016 at 9:12 am
TexasJohn (6/7/2016)
exec sp_addlinkedserver @server=N'AccessSchedule'
,@srvproduct=N''
,@provider=N'Schedule'
,@datasrc=N'LocalServer'
exec sp_addlinkedsrvlogin AccessSchedule,False,NULL,Admin,NULL
Where Schedule is the name of a DSN file on the SQL server
Now when I run
exec...
June 7, 2016 at 8:59 am
Luis Cazares (6/7/2016)
Try this:
SELECT sys.fn_get_folder(path, 1)
jerking my chain or is that new in 2016?
i tried 2008/2012/2014 and below with no luck.
;WITH MyCTE([path])
AS
(
SELECT 'c:\Programmefiles\Dicument\file1.txt' UNION ALL
SELECT 'c:\Programmefiles\Dicument\Subdocument\file1.txt' UNION ALL
SELECT 'c:\Programmefiles\Dicument\Image\file1.txt' UNION...
June 7, 2016 at 7:44 am
since you've set up teh DSN and the linked server, do you get a list of tables from this command that you could then query?
exec sp_tables_ex [AccessSchedule]
you get results that...
June 7, 2016 at 7:33 am
ZZartin (6/7/2016)
Do you have the target set up as a fixed width file?
is the datatype of the source CHAR/NCHAR and not varchar/nvarchar?
exporting char values maintains their defined length.
you'd probably want...
June 7, 2016 at 7:27 am
how does whitespace wreck the import?
importing a csv is fairly straight forward;
you could bulk insert directly to a staging table, and trim the data before it inserts into the permanent...
June 7, 2016 at 7:09 am
DennisPost (6/6/2016)
Thanks for taking the time to read and reply.
That approach won't work for us as the server is set to UTC and we need to be able to...
June 6, 2016 at 1:15 pm
it sounds like your UTCToLocal functions are scalar which are notoriously slow, where including some datemath columns as the calculated value would definitely be faster since it would be treated...
June 6, 2016 at 10:57 am
Viewing 15 posts - 916 through 930 (of 13,445 total)