Question : SQL profiler Filter

I want to make a trace on my MS SQL 2005 server to be able to see if one specific database still in used by external software.

I know how to filter on the database itself  (Filter on "Database name")
I know how to filter on the Cross database query (filter on "Text data")

how can I create a trace filter whit a "OR" between two filter.

Where [Database Name] = 'xxx' or [TextData] = 'xxx'


Thanks,

Answer : SQL profiler Filter

Yes, you can connect with SQL Developer.

First, you make sure that tnsnames.ora which was setup when you installed oracle, is configured to point to the instance of your oracle database.

It looks something like this:

# TNSNAMES.ORA Network Configuration File: C:\oracle\product\9i\OEM\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

ACS.Mydoamin.us =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = db1)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = ACSProduction or whatever)
    )
  )

Then on SQL Developer, you see connections to the top left corner of SQL Developer once it is launced.

Right-click on connections.

on Connection Name: give it any name.

Username: Scott or your username
Password: Tiger or your password

Choose TNS as your connection Type

Select the Network Alias radio button and give it the name you find in your tnsnames.ora and baring any mistakes, it should connect you.

You can also use SQL Plus to do so.

Hope this helps.
Random Solutions  
 
programming4us programming4us