Viewing 15 posts - 2,911 through 2,925 (of 13,469 total)
not to public.
if they need to run sp_Oa*, then only grant it to one specificl role or user/login that will actually need and use it.
depending on what they are actually...
November 20, 2013 at 9:53 am
your local server has a number of aliases, and you might need to specifically look in Administrative tools>>Services to see if you have named instances.
assuming a default isntance, you could...
November 20, 2013 at 9:36 am
no solution, just consumable data:
i ran out of interest int he issue after converting to usable data:
;WITH MyCTE([EmpNo],[BudgetYearStart],[BudgetYearEnd])
AS
(
SELECT convert(int,'2698'),convert(date,' 2013-02-01'),convert(date,'2014-01-31') UNION ALL
SELECT '67682',' 2013-01-01','2013-12-31' UNION ALL
SELECT '43320',' 2013-02-01','2014-01-31' UNION ALL
SELECT...
November 20, 2013 at 8:45 am
Beatrix Kiddo (11/20/2013)
finally, you add the linked server on server A, and make sure you use the mapping idea fromt eh screenshot: login not defined = not be made, and...
November 20, 2013 at 8:28 am
ok perfect, if he's using a SQL login, it really goes towards the screenshot i provided.
on the remote server, a database role (in the apropriate database(s)(ie LIMITED_ACCESS), and make sure...
November 20, 2013 at 7:03 am
i found this bat file from microsoft which is pretty much bullet proof:
it adds the current user as an administrator to the sql server that is prompted in the command...
November 20, 2013 at 6:28 am
bulk insert into a single table is incredibly fast. switching away from INSERT statements being generated to sticking the data into a local DataTable, and either syncronizing the changes or...
November 20, 2013 at 6:05 am
Beatrix Kiddo (11/20/2013)
November 20, 2013 at 5:53 am
you have to switch to dynamic SQL for the whole thing, when you try to parameterize BULK INSERT; it only accepts static strings, and not variables.
DECLARE @sql varchar(8000)
--bulk insert won't...
November 19, 2013 at 2:55 pm
easy fix for you guys.
I assume you went to this page and downloaded the procedures from Micorsoft:
http://support.microsoft.com/kb/918992
from there, all you really need to do is modify the code, so that...
November 19, 2013 at 1:58 pm
my personal rule of thumb, based on my own experiences, is that if a table has more than 50K rows, i'd rather use SSIS (or The Import/Export Wizard, technically still...
November 19, 2013 at 1:24 pm
the openquery for a simple select is what you are after, it's just what you do witht eh results(sticking them into your local table instead of displaying)
INSERT INTO...
November 19, 2013 at 12:42 pm
rebuilding the indexes updates the statsitics for the columns of the indexes, but not all the statistics for the given table.
statistics on non indexed columns let the query engine...
November 19, 2013 at 12:36 pm
Ed Wagner (11/19/2013)
November 19, 2013 at 11:33 am
don't limit yourself to think it must be a single char.
i export stuff like html in and out all the time; as a result, i use multi character delimiters that...
November 19, 2013 at 11:25 am
Viewing 15 posts - 2,911 through 2,925 (of 13,469 total)