access sql query logs from audit file [closed] - sql-server

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 6 years ago.
Improve this question
In standart edition there is a file which has some info about sql queries logs . and i can access these info with running this query
SELECT * FROM fn_get_audit_file('C:\Audit\PCI_Audit*', default, default)
this is file name
PCI_Audit_EC556E8F-04F0-4E7F-B29E-4856C72ECAEE_0_131108208217630000.sqlaudit
and you can download it from here.
What ever i did i could not read this file and access info.
any suggestion will help too much
thank you very much

There's an SSIS package available that we used once to consolidate the audit logs for many servers into one central repo. Or one can use powershell to manipulate them. Check out two possible solutions below. But we never were able to read the file directly from the OS.
http://sqlcat.codeplex.com/wikipage?title=sqlauditcentral&referringTitle=Home
or
https://www.mssqltips.com/sqlservertip/3444/automate-the-import-of-sql-server-audit-files-into-sql-server-using-powershell/

Related

Updating production database via DACPAC upgrade [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 12 months ago.
Improve this question
Using a DACPAC to upgrade a data-tier application database is an 'in-place process' as per the documentation.
My question is, how do you go about updating your production databases?
Do you just apply the DACPAC directly to the production database, and then roll back if anything goes wrong?
Obviously you would test this first in a dev, test or staging environment but I'm wondering if there are any other options?
We used dacpacs, but always tested the rollout against a nearly identical dev/test/uat system first. For really sensitive prod rollouts, sometimes I'd generate the change script/report first to make sure it was going to do what I expected. If that looked good, I'd let it run. (sometimes the process needed advanced permissions from the CICD engine that I didn't have with my account)

Can't open ms access MDB file [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
We have a corrupted .mdb file that contains an important data, We don't know what the problem exactly is. Here are some of the error messages:
1) The form name "خلفية" is misspelled or refers to a form that doesn't exist.
2) Record(s) cannot be read; no read permission on 'MSysAccessObjects'
3) Access was unable to locate the macro or VBA function. If you are trying to call a macro, make sure that the name of the macro and the name of the macro group are spelled correctly.
We tried several solutions like importing the the corrupted database to a new access file but when we try importing the database it says that there is no permission to import the tables and queries.
Create a new Access database, then on the 'External Data' tab select Access and import everthing from your old database, Tables, Forms, Queries, Modules etc.
When done, compact & repair the database and test.

SharePoint 2013 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
How can I retrieve data from content database in SharePoint 2013? I need only read from the database. I need also to read metadata as well. I was wondering if anybody could explain it and give me even a tutorial links for that. I am a newbie in SharePoint, I read different articles but I cannot find the information that I need.
One of the first rules of SharePoint that you learn when you start diving in to the product is that you shouldn't ever touch the SharePoint database.
Also, Reading from the SharePoint databases programmatically, or manually, can cause unexpected locking within Microsoft SQL Server which can adversely affect performance.
So you should use sharepoint object model, rest Apis to query data.
Also check:
http://blogs.msdn.com/b/brian_farnhill/archive/2013/12/04/directly-querying-sharepoint-databases.aspx

SERVERPROPERTY('LicenseType') [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
I was recently going through all the options made available by Microsoft for the SERVERPROPERTY() in SQL Server.
When i write
SELECT 'License Type ', SERVERPROPERTY('LicenseType')
I get output as
License Type DISABLED
I went through the knowledge base and it states the follows -
" Unused. License information is not preserved or maintained by the SQL Server product. Always returns DISABLED. "
It would really be great if someone could suggest me a use of this Enum/Property as i find Microsoft Technologies too intelligent to keep things like these in the final released product if they are truly useless...
Any Ideas please...
This property used to contain information before 2008R2:
Mode of this instance of SQL Server.
PER_SEAT = Per Seat mode
PER_PROCESSOR = Per-processor mode
DISABLED = Licensing is disabled.
Licensing changed and it's now unused. The reason it is still there is probably that removing it might risk breaking something for someone (my guess).

TFS 2012 Licensing via Action Pack [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
I currently have an Microsoft Action Pack but I don't see a license for TFS included in it. What would be the best way of getting TFS 2012 Server installed and access for 6 devs and 2 Web access users.
I've read the Microsoft Licensing White Papers and they are next to useless. Does anyone have any concrete examples of the best way to get this done? Do I just purchase a Server License and 6/8 CALS, it seems I should be able to reuse some part of the Action Pack to reduce this cost, no?
Thanks in advance.
Try contacting the Microsoft partners support (they have live chat):
https://mspartner.microsoft.com/en/uk/Pages/Support/partner-network-support.aspx?Page=CustomerServiceControlJsonP

Resources