Viewing 15 posts - 946 through 960 (of 13,460 total)
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...
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
June 6, 2016 at 10:57 am
floats are a pain. As Luis said, the underlying value is still digits, but when being presented in the GUI or exported out again, it's a bit ugly.
when converting a...
Lowell
June 3, 2016 at 7:37 am
mw112009 (6/2/2016)
The objective here is to update one field with a | delimited statement using the rest of the fields.
This works out well....
Lowell
June 2, 2016 at 12:43 pm
I'm now offering certifications in SQL Fertilization. If you act now i'll offer you 50% off my already low price of $99.
Lowell
June 1, 2016 at 2:44 pm
A DOS attack, as in denial of service attack?
That's a very poor way to try and justify disabling that setting. I don't believe the person who developed the list knew...
Lowell
June 1, 2016 at 6:37 am
not sure why you think it's a security violation.
if database mail is enabled, the only users that can use it are sysadmins of sql, or users who have been...
Lowell
June 1, 2016 at 6:08 am
rajemessage 14195 (6/1/2016)
q2) is not answered. will it do any good by removing or deleting.
if the only thing the query is doing is a SELECT statement, neither the XACT_ABORT nor...
Lowell
June 1, 2016 at 5:09 am
i've got a similar process, where i need exactly 17 files in a folder that is cleared out daily.
a simple script task to count the files what i use;
string...
Lowell
May 31, 2016 at 10:34 am
Viewing 15 posts - 946 through 960 (of 13,460 total)