Viewing 15 posts - 76 through 90 (of 13,429 total)
select * from sys.dm_server_services lists both the db account and the agent account. the db account(SQL) is what is used for backups.
mapped drives are on a PER USER basis, and...
November 20, 2019 at 9:40 pm
you can poke around, but there is an open source zip code database here: you can easily find others.
https://public.opendatasoft.com/explore/dataset/us-zip-code-latitude-and-longitude/table/
https://gist.github.com/erichurst/7882666
that has a latitude and longitude for the...
November 20, 2019 at 9:22 pm
i am pasting a full example below, with what is undoubtedly your issue with object ownership chaining.
for SQL server, if you grant execute permissions to a procedure, underlying objects permissions...
November 20, 2019 at 5:35 pm
typically that error is invalid parameters, i think, and might be related to the @query paremeter
since you didn't provide any details or sample code, lets start at the top:
does sp_send_dbmail...
November 19, 2019 at 12:30 pm
Create an SSIS package that processes the file;
whether the procedure calls CLR to process the file, or you load the file contents into a SQL table via that SSIS package...
November 18, 2019 at 10:18 pm
agreed, but I cannot tell you how many people I've met who consider CSV to be excel, since it's often the default application for CSV.
add in the fact that he's...
November 15, 2019 at 10:08 pm
the data would have to feature text qualifiers(typically dbl quotes) in order to do that; doe sit?
for example a csv that looks like this:
"col1","col2","col3"
"data1","data2","data 3
that features
multiple lines"
if...
November 15, 2019 at 8:53 pm
briefly, the way I have been doing it is as follows:
the VM will have access to a virtual folder form the host that you share, ie Z:\Shared, so you put...
November 15, 2019 at 3:02 pm
Sorry,unless you have some auditing in place, before it happened, it is not possible.
you can get basically the last executed information for current connections from the DMV's, or using sp_whoisactive,...
November 14, 2019 at 8:11 pm
i think the right thing to do is is go straight to sys.dm_db_index_usage_stats, which keeps track of how many times an index was used for seeks/scans/ lookup/updates.
the data is only...
November 14, 2019 at 7:47 pm
i poked around the metadata with this query, and looked at views that seemed interesting:
SELECT * FROM sys.all_objects WHERE type='V' AND name LIKE '%avail%' OR name LIKE...
November 13, 2019 at 1:48 pm
16 Gig is fine. for three servers, i would say you need 3-4 gig per server, i've done 1 core / 2 gig per server, but they are painfully slow,...
November 13, 2019 at 12:59 pm
I know if you install IIS or some other web server, you can redirect the default name of the server to the right folder;
November 12, 2019 at 9:49 pm
for me, that OR statement is something i think i would switch to two separate queries, for each of the two sets.
ON a.ra_number = b.ra_number
and (a.ei = b.ei or...
November 11, 2019 at 10:07 pm
db_datareader gives permissions to all SELECT-able objects, which would include tables and views.
I think you wanted just specific views, so you have to turn to dynamic sql:
offhand, it would look...
November 6, 2019 at 12:51 am
Viewing 15 posts - 76 through 90 (of 13,429 total)