How To Get A List Of Configuration Settings For A Database

Jul 20, 2005

Hi,

I would like to know how to get a list of configuration settings for a
database.

Is there a table that I can select this info from?
Or a file (perhaps an ini file?) of some kind?

Things like timeout settings, rollback space, table space, etc.

Thanks

View 2 Replies


ADVERTISEMENT

SQL Configuration Settings Being Ignored?

Sep 13, 2006

I am sure I'm being blind here (it wouldn't be the first time - and won't be the last time).

I have a package that retrieves some values from SQL table to allow me to dynically create an email message, so it retrieves To Addresses, From Address, Header, Body from a table, populates variables, and uses expressions to assign those to the SEND MAIL TASK.

That is working (after a bit of head/wall/banging to get my default virtual SMTP server running locally).

Now I am trying to make the SMTP Server Name dynamic. The Property SMTPConnection specifies the SMTP Connection Manager to use, and not the server, so it doesn't seem as though I can configure a property on the SEND MAIL TASK to achieve this.

Now I'm focussing on using SQL Package Configurations to try and drive this. As I see it, just like XML configurations, if you change a value in the configuration source, then when the package runs, it get's that value, and uses it.

I have change the configuration value (outside of the package). I confirm it is actually changed by running a SQL Task that gets the value from the configuration table, and view the value assigned to the variable in watches. The value returned is a different value (in my case I changed it to an invalid servername), and yet the task still runs through successfully, using the previous SMTP servername.

huh?

View 4 Replies View Related

SQL 2012 :: Configuration Manager TCP / IP Settings?

Apr 7, 2015

We changed the IP addresses for several SQL Servers and we're a little confused by what we see in Configuration Manager. The TCP/IP properties "IP Addresses" tab still shows the old IP address, even after a restart. On "Protocol" tab, Listen All is set to "Yes".

We've found one source that says this setting causes the listening on an individual IP to be ignored.

View 0 Replies View Related

Configuration Settings In A DLL Called From SSIS

May 27, 2008

OK, here's the scenario:

I have some libraries (DLL) that I call from a regular console application. The data access methods get the connection string from the app.config, nothing special there.

The thing is: now I need to use the libraries inside a SSIS package. I call them from a script task, and everything is fine, except for the connection string.

Is there a way that I can get the connection string from the SSIS package configuration like I would from the app.config? Maybe some alternative to ConfigurationManager.AppSettings["ConnString"] in the DTS Runtime?

Thanks in advance...

View 3 Replies View Related

Confused About Configuration Manager's TCP/IP Settings

Jun 26, 2006

I need another opinion about the SQL Server Configuration Manager's TCP/IP settings...

Recreation steps:
Start, (All) Programs, SQL Server 2005, Configuration Tools, SQL Server Configuration Manager.
Expand the "SQL Server 2005 Network Configuration"
Select the "Protocols for x" where "x" is the named-instance or "MSSQLServer" for default.
On the right-hand pane, right-click "TCP/IP" and select "Properties."
Select the "IP Addresses" tab.

Visually on the screen I have this:
_______________________________________
- IP1
Active            Yes
Enabled           No
IP Address        106.xx.xxx.xx
TCP Dynamic Ports
TCP Port          1433

- IP2
Active            Yes
Enabled           No
IP Address        127.0.0.1 <-loopback
TCP Dynamic Ports
TCP Port          1433

-IPAll
TCP Dynamic Ports
TCP Port          1433
_______________________________________

Questions:
1. If I want to change the listening port, I change all three at the same time?
1a. Does a value in the IPAll section override the individual IPx sections?
2. What does "enabled" mean? How can IP1 and IP2 not be enabled?
3. What does "active" mean? How can something be both active yet not enabled?
(4. Any plans to change the "NULL=False, 0=True" values for the Dynamic Ports?)

 

View 4 Replies View Related

Target Platform As Part Of Configuration Settings

Jul 20, 2015

We have build configuration setup for each environment that we automatically deploy to (DEV, UA, PROD 1, PROD 2, etc.)  We've recently come across a scenario where one environment will now be running a different version of SQL Server than the others.

Is it possible to tie the Target Platform version to a configuration. Such that one configuration could target 2012 while another targets 2014?

View 2 Replies View Related

Encrypting The Configuration Settings In SSIS Package

Apr 24, 2007

Hello Everybody,



I have developed a SSIS package to pull data from a remote SQL Server.



I have specified Database related settings in a dtsconfig file.



I was just wondering if we have any way of encrypting the config file so that only my package can read information out of it.



Or is there any other better way where i can store my database configuration (uid, pwd) so that it is not viewed by anyone.



please help me with this issude, thanks in advance...



Regards,

Sudhir Kesharwani



View 4 Replies View Related

Need Information On Configuration Settings In Reporting Services

Jan 29, 2008

Hi,

I developed a report in development environment, which will later be deployed to QA, Staging and then Production. This report has more than 10 datasets and if the report is moved through each of the databases, datasource has to be changed for all the datasets. is there anyway that I can do it globally, what i mean is can i set up any configuration files which I can use in QA, Staging and Production.

Any ideas

Thanks,
Priya T

View 4 Replies View Related

Collation Or Local Sensitive Settings Or Other Configuration Properties

Dec 26, 2005

I installed the samples and tutoriales on the same server as SQL Server 2005 and VS 2005 Team Suite.
Living in Belgium, the local settings are:
            language = Duch (Belgium)
            code page = 850
e.g. in the database samples (AdventureWorks database €“ AdventureWorks Warehouse database)
my date notation is: 26-12-2005
my number notation is: 1,0013016921998599
 
all demo samples and tutorials are developed using
            language = English (United States)
            code page 1252
e.g. in SampleCurrencyData.txt
the date notation is: 12/26/2005 00:00:00
the number notation is: 1.0013016921998599
 
 
I do not have any problems to test the diferent services (Data Base Engine Services, Analysis Services, reporting & notifications services ..) but I do not succeed to deploy any samples of integration services !
 
e.g. for Integration Services Tutorial - lesson 1: €śCreating the Project and Basic Package€?
there are no error messages, 1097 rows are processed
but, checking the result in the database, no data is updated in the FactCurrencyRate table of the AdventureWorksDW database !
 
Why?
-      is the problem related to the local language settings? how to solve this?
-      what is the influence of the code page ? is there any compatibility between 1252 and 850 as code page?
-      Server collation (e.g. Latin_1_General_CI_AS) is reported as key for the Unicode notation for character strings but what about notation of numbers?
-      when to use float data type DT_R4 or DT_R8?
-      I have remarked that the DT_DBTimeStamp is undependent from the source time notation €“ Is this correct?
-      what is the difference between DT_Date and DT_DBDate or DT_DBTime, or DT_DBTimeStamp?
-      Is Integration Services dependant of the local settings of the database engine?
-      how to set / modify additional regional properties in a SSIS and SSRS package?
-      how to change the default setting of the Flat File Connection Manager [starting the wizard, the local setting for the language €“ Dutch appears and this is OK for me but as codepage appears 1252 (ANSI Latin) and this is not OK as my server code page = 850]?
-      how to work with e.g. US based data as source and Belgium settings for reports?

View 6 Replies View Related

Multiple Environments And Configuration File Settings In Packages.

Aug 10, 2006



Suppose 2 environments on a single machine.

Each environment has different configuration settings....different

databases etc.

All the packages in the first environment have a hardcoded config files

referencing the local drive.

In order to create the second environment do I have to

go into each package and manually change the location of the

hardcoded config files. If I don't it will it not use the config files

from the first environment.



Thanks



View 1 Replies View Related

SQL 2012 :: Instance Name Not Appearing In Drop Down List On Cluster Node Configuration Window

May 29, 2013

I am trying to install the MS SQL Server 2012 Failover Cluster on Windows Server 2012 . I successfully Installed the Failover cluster instance on my primary node.

But when I am running the installation process on passive node to add node in the failover cluster I am stuck with very unique kind of issue.

I am following the Standard process of Installation and I am getting the same windows for each next process, but after License Agreement window when I get the Cluster Node Configuration window, then in "SQL Server Instance Name" drop down box I am not getting the Name of Instance which is already installed on the primary node. But this Instance complete information is appearing in below given box.

Only issue is Instance name is not appearing in the drop down list, that's why I am not able to select and when I click on next it trough error and do not proceed.

View 3 Replies View Related

Database Settings

Apr 14, 2008



From the sql server management studio i cannot see database properties

logical file name of mdf, location of the mdf
logical file name of ldf, location of the ldf
what setup should i change to see the properties.

View 5 Replies View Related

Database Settings Changed(Very Very Urgent)

Mar 8, 2001

How do i find who has changed the settings in the database.

basically when i looked at this morning i saw a database which is set in single user mode.when i tried to look at the errorlog i found nothing except the spid's of different people and as far as i know i think that spid's are assigned randomly depending on there availability.

Now this has happened twice recently and now i want to find out who the culprit is his username, machine name but not spid.

Can i do it if how can i.

how do i track each and every users info what he is doin and at what time.

do i need to set up or configure any options.

sometimes i also see that there is a dbcc command run by as it says winnt/system what does this mean how is this running.

Thanks in advance for ur great help.

Its very urgent because its a production machine.

View 4 Replies View Related

Database Settings Or SQL2K Compatibility ?

Jul 17, 2002

Hi,

I just upgraded to SQl Server 2000 from 7, and realized that all my reports created with existing scripts no longer work fine. The reports appear corrupt. Below is an example of a report script:

declare @vSubject varchar(30),
@vMessage varchar(20)
Begin

Select @vSubject = 'Report as of :' + convert(varchar,getdate()-1,1)
Select @vMessage = 'Automatic Report'
EXEC xp_sendmail @recipients = 'Bob',
@query = "FetchEmailData",
@attachments = 'DailyReport.wri',
@subject = @vSubject,
@message = @vMessage,
@attach_results = 'TRUE',@width = 250
End

The DailyReport.wri file appears corrupt when opened with notepad. The same happens to .xls reports too.

Are there settings I need to change or is this a SQL2K issue ?. Any suggestions/help would be appreciated. SQL Server 2000 runs on Windows 2000 Adv.

Thanks.

View 1 Replies View Related

Putting CSS And Web Settings In The DataBase Expensive?

Sep 20, 2006

I had an idea to put all my web design settings, css text and web content in the database..This way it would be easy for others to edit remotely. Do you guys think this would have an impact on performance if I do this?

View 7 Replies View Related

Database Explorer Advanced Connection Settings

Aug 17, 2007

In SQL Visual Basic 2005 Express Edition, I was wondering if it is possible in the Add Connection dialog under Advanced settings to change the Data Source SQL server from the local .sqlexpress to a network SQL Express server. It seems as though the option is locked. I am in a doman, and using Windows Authentication. I also have TCP/IP enabled on the SQL server, and no firewall restrictions for the SQL service. Also, my account permissions should also allow me to do this.

John55616

View 3 Replies View Related

Can Not Access SQL Database For Website Security Settings

Jun 8, 2006

I'm using Visual Studio 2005 (8.0.50727.42) and going into the menu option Website > ASP.Net Configuration, access the security tab and all I get is an error message stating that there is a problem with the selected data store "Unable to Connect to the SQL Server Database"

I have SQL Server 2005 (Express Edition). I have created a database "NetDev" with the right connection, etc.

I can use the SQL server fine for my Windows applications, but somehow this ASp.Net Configuration tool is not making any sense.

I also used the aspnet_regsql command from framework 2.0 to create a DataBase to no avail.

Does anyone out there knows if there is a bug with this tool???







View 1 Replies View Related

SQL Server 2008 :: Database Level Selection Settings?

Apr 23, 2015

I have following table structure

SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[FAS_LEDGER](
[TID] [INT] IDENTITY(1,1) NOT NULL,
[TDATE] [DATETIME] NOT NULL,

[code].....

in this table I have 1571182 rows

the problem is someone did some changes in this LEDGER table

I can insert new rows in this table but when I try to fetch latest rows on the basis of following query then I did not get the latest row.

means

following query gives all the rows of this table

SELECT * FROM dbo.FAS_LEDGER ORDER BY TID DESC

and when I try to filter Master_code = '02-07-01-008-0001' and apply oder by TDATE I do not get latest rows

SELECT * FROM dbo.FAS_LEDGER WHERE MASTER_CODE = '02-07-01-008-0001'
ORDER BY TDATE DESC

View 4 Replies View Related

SQL Server 2008 :: Script Out Database Mail Settings?

Sep 8, 2010

Script to Reverse Engineer / Script out your EXISTING database mail settings?

I set up a profile to use gMail, and it seems logical for me to export out the settings to a script, then run the script on my laptop, other servers, etc.

There's no built in option, so I figured i'd ping the forum before i do it myself.

There are example scripts where you fill in the blanks, examples how to set up dbmail, but i did not find anything that scripts out existing settings.

View 9 Replies View Related

Saving Original SQL Database And My.Settings When Reinstalling Or Updating

Apr 27, 2007



Hello all...



I am working on a project that contains several databases in SQL and many settings. The problem I am encountering is that I want to be able to update the program for all my customers. That is no problem.

The problem I am meeting is where, when the program is updated, all the settings and all the information in the databases reverts to the default values, or the values that were compiled with the new update.

I want to be able to update their program without deleting all the settings they have.



Thanks,

Andreas Renberg

View 1 Replies View Related

Changing Database Server Locale Date Time Settings ?

Jun 15, 2007

Hi There



We currently have the following scenario:

4 app servers with regional date and time settings of locale A.

1 database server with locale settings B.



What is happening is that timestamps are being generated on the app servers, these are then in a sql command which fails on the database server since the timestamp format is invalid.



It was suggested that we change the regional locale settings of the database server, but will this not have serious implications , for example every current timestamp format in the datbase will become invalid?



In a nutshell is it safe to change a database servers regional date time locale settings ? Or are there serious implications?



Thanx

View 1 Replies View Related

SQL Server 2008 :: Script To List All Database Level Permissions In A Database?

Aug 4, 2015

I found this script online..

SELECT prin.[name] [User], sec.state_desc + ' ' + sec.permission_name [Permission]
FROM [sys].[database_permissions] sec
JOIN [sys].[database_principals] prin
ON sec.[grantee_principal_id] = prin.[principal_id]
WHERE sec.class = 0
ORDER BY [User], [Permission];

but the results are this: 2 columns - User and Permission

User Permission
User1 GRANT CONNECT
User2 GRANT CONNECT

IS there a way in SQL Server (2005/2008/2012) to run a script against a Database that will show all users that have permissions to that Database and the type of permissions?

View 7 Replies View Related

SQL Security :: Cannot Expand List Of Database Tables Using Contained Database Login With Server Management Studio

Jul 30, 2015

In SSMS, I connect Object Explorer to a partially contained database using a contained user login with password. This user has a database role of dbdatareader. When I try to expand the Tables in the database, I get the error: 

The SELECT permission was denied on the object 'extended_properties', database 'mssqlsystemresource', schema 'sys'. (Microsoft SQL Server, Error: 229)

Is there a way to set permissions for the contained user so that this could be done?

View 4 Replies View Related

Database Configuration Problems

Jan 18, 2006

I am trying to learn ASP.NET using Visual Basic Standard Edition 2003 and an MSDE database. I am having problems configuring the login.  Is this a workable configuration? Are there instructions somewhere for setting up this configuration?  I have no problem using Access 2003, but I would like to use MSDE.

View 1 Replies View Related

Server & Database Configuration

Jul 20, 2000

Is there a way that anyone knows of that I can get a
printout of my server and database configuration?

I don't want 'Generate Scripts'. I'm looking for a
stored procedure or something that will give me a
text document listing the configuration.

I'm running SQL 7 with sp1 on most servers and sp2
on a few.

I would appreciate any info.
Thanks!
Toni

View 1 Replies View Related

Remote Database Configuration

Aug 15, 2000

Please excuse me as although I have lots of database design & development experience I'm not database administrator and I'm new to SQL Server.

I have a SQL server 7 database on a remote web server which I can access over the Internet.

I have SQL server 7 installed on my local network server and I use Enterprise Manager to administer and configure the databases on the server.

Can I use Enterprise Manager to administer and configure the remote database?

If I can't then how do I make changes to the remote database? Do I need to FTP objects or use RAS?

Any help would be very much appreciated?

View 1 Replies View Related

Finding Out Database Configuration

Jun 12, 2003

Hi,

I'm new to SQL 2000 administration and would like to know how to find out what the existing SQL Server Database configurations and what installation options has been installed / selected.

Thanks

Murras68

View 1 Replies View Related

Database Mail Configuration?

Jan 30, 2008



Hi Friends,

I am finding an error in SQL Server Agent log which is related to database mail configuration. Can any one please guide me how to configure the database mail configuration to transfer the data from SQL CE to SQL server.


Thanks in Advance

View 1 Replies View Related

Configuration Of Database Mail

Aug 17, 2005

Has anyone been able to configure Database Mail and successfully send an email message?  I set it up this afternoon, but all my messages are sitting in the sys_mailitems table of the msdb database.

View 5 Replies View Related

How Can Combine 2 DataBase(one From Configuration And Another Sql Server)

Jan 6, 2008

hi
please help me
how ican combine Between 2 DB (one from configuration used for login by wizard and another sql server use BC (my project needed)

View 1 Replies View Related

Disk Configuration For Replicated Database

Jan 25, 2008

We are going to implement either a replicated database or use log shipping to another database to support our reporting needs. Basically we are moving reporting over data off our transactional database.

With this in mind, I have several questions:
Are there any special configurations in terms of disks for a database in this situation?What are the recommended raid types?
Also, we currently store our data in one filegroup and indexes in another so obviously I'll want those on 2 separate physical disks other than the C:. What about the log files? Do I care where they go (on C: or another physical drive separate from C:, data filegroup drive and index filegroup drive)?

Thanks!

View 3 Replies View Related

Example Code For Database Configuration(MSDE)

Jul 20, 2005

Does anyone know where I can find example code for VB.NET that I can useto create an application that attaches and detaches databases to MSDE usingosql scipts.(I think SQL-DMO is typically used)Thanks in advance

View 10 Replies View Related

SQL Server 2005 Configuration Database

May 31, 2007



I am working on creating a configeration database based on the information pulled from a large number (over 40) of servers. I am newly out of college and don't have a lot of experience with things like this, but I am trying to create a configuration database. I need to know the best way to create a connection to all of the SQL servers on my network and then automate the pulling of data from these SQL servers. The types of data I would need are things like Instance ID, DBMS Version, Database Properties, Database Name, Modification Date, Last full backup, last transaction log backup, etc. I have been pointed towards either working with OSQL/SQL CMD, in which case could someone please point me towards a guide, and SSIS, I am reposting this thread in the SSIS area. I need to take all of the gathered data and place it into a central repository database after formatting it. Any help is greatly appreciated.



-Kyle Schlapkohl

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved