Showing posts with label attach. Show all posts
Showing posts with label attach. Show all posts

Thursday, March 22, 2012

Access AS400 DB2 in SQL Server

Hi,

Im finding the way of connecting to DB 2 database which is exixst in the AS400

machine to do some data manupulation.Please attach the SQL cording.

Thanks

Pubudu

You can try any kind of odbc drivers, for example, RUMBA ODBC Drivers

http://www.netmanage.com/customers/stories/lear.asp

it works

sql

Sunday, March 11, 2012

Accesing a database with password

Hello, I have a database and I need to copy and attach it in a customer SQL
server. But I don't want them to be able to see the tables structures or my
company's stored procedures. Is this possible to have the database in their
sql server and not allow them to see the data or tables. Or only with a
password be able to access the database. Like in Microsoft Access that you
can assign a password to the database and everytime I open the file it
prompts for the password.
Thanks in advance
JennyferdYou can "encrypt" the stored procedures (see BOL, Create Procedure "With
Encryption"), but there are tools out there that pretty handily defeat such
encryption. It's pretty much just enough to keep unmotivated honest people
honest. You could use Views to prevent people from accessing the underlying
tables directly, but on their box they will presumably have sa/administrator
access and will be able to view your table structures... I'm not sure of
any methods to hide that info... Although someone else here may know.
To be honest, to me it's a little counter-intuitive - I usually supply full
documentation on the database tables and structures to clients, since they
invariably try to generate reports, etc., on their own... to me it makes
more sense to give them the tools to access it the right way, set up
read-only views, etc., so they don't trash the system...
"Jennyfer J Barco" <pdwhitt@.nospam.wdsinc.com> wrote in message
news:uTp4scxLFHA.3420@.tk2msftngp13.phx.gbl...
> Hello, I have a database and I need to copy and attach it in a customer
> SQL
> server. But I don't want them to be able to see the tables structures or
> my
> company's stored procedures. Is this possible to have the database in
> their
> sql server and not allow them to see the data or tables. Or only with a
> password be able to access the database. Like in Microsoft Access that you
> can assign a password to the database and everytime I open the file it
> prompts for the password.
> Thanks in advance
> Jennyferd
>

Thursday, February 9, 2012

about Alert

Hi all:
I want to create a Alert,which can email to me when
my log file is attach to 90% full.
How can I do?
Is there Any samples?
Thank you!!
ArronHi:
Follow the list steps, you can create the alert:
1. Start the Enterprize Manager
2. Browser the server you want to create alert
3. Browser the "Management" and right click "Alert"
4. Select "New Alert" to start the alert
5. Change the Types: to "Sql Server perfermence condition alert"
6. Change the objcet to "Sql Server:Databases"
7. Change the counter to "Percentage Log Used"
8. Set the other value as you expect
9. Switch to Response tab
10. Click the "New Operator" and set the e-mail adress
After these steps, the alert should be OK
Best Wishes
Wei Ci Zhou|||Before that, please check if you set the mail profile|||Setting up the mail profile is documented in SQL books online... It requires
that Outlook be installed on the SQL Server... If you may not, or do not
wish to install Outlook, you may go to www.sqldev.com and there is a mail
dll, and sample stored procedures that will allow you to do SMTP
mail...(instead of MAPI mail).
--
Wayne Snyder, MCDBA, SQL Server MVP
Computer Education Services Corporation (CESC), Charlotte, NC
www.computeredservices.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Arron" <9144492@.pchome.com.tw> wrote in message
news:578601c3e56a$804b52e0$a001280a@.phx.gbl...
> Hi all:
> I want to create a Alert,which can email to me when
> my log file is attach to 90% full.
> How can I do?
> Is there Any samples?
> Thank you!!
> Arron

about Alert

Hi all:
I want to create a Alert,which can email to me when
my log file is attach to 90% full.
How can I do?
Is there Any samples?
Thank you!!
ArronHi:
Follow the list steps, you can create the alert:
1. Start the Enterprize Manager
2. Browser the server you want to create alert
3. Browser the "Management" and right click "Alert"
4. Select "New Alert" to start the alert
5. Change the Types: to "Sql Server perfermence condition alert"
6. Change the objcet to "Sql Server:Databases"
7. Change the counter to "Percentage Log Used"
8. Set the other value as you expect
9. Switch to Response tab
10. Click the "New Operator" and set the e-mail adress
After these steps, the alert should be OK
Best Wishes
Wei Ci Zhou|||Before that, please check if you set the mail profile|||Setting up the mail profile is documented in SQL books online... It requires
that Outlook be installed on the SQL Server... If you may not, or do not
wish to install Outlook, you may go to www.sqldev.com and there is a mail
dll, and sample stored procedures that will allow you to do SMTP
mail...(instead of MAPI mail).
Wayne Snyder, MCDBA, SQL Server MVP
Computer Education Services Corporation (CESC), Charlotte, NC
www.computeredservices.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Arron" <9144492@.pchome.com.tw> wrote in message
news:578601c3e56a$804b52e0$a001280a@.phx.gbl...
quote:

> Hi all:
> I want to create a Alert,which can email to me when
> my log file is attach to 90% full.
> How can I do?
> Is there Any samples?
> Thank you!!
> Arron