Viewing 15 posts - 1,141 through 1,155 (of 1,160 total)
February 19, 2008 at 10:41 pm
Is this what you are looking for?
SELECT DISTINCT parent_product, sub product, descrip
FROM TABLENAME
WHERE CONVERT(VARCHAR(10),DATE,111)=(SELECT MAX(DATE)FROM TABLENAME)
February 19, 2008 at 9:18 pm
I might have misread your query. You can grant access to a user to a specific database and he will not be able to access other databases available in that...
February 19, 2008 at 8:59 pm
If you are validating the CD column with the help of Eff Date and End Date, then in the INSERT trigger a query with "Where" clause can help you out.
February 19, 2008 at 8:55 pm
You may pick the counters as per your requirement from the below URL
February 19, 2008 at 4:37 am
The following command in cmd give the desired result.
OSQL -L (SQL Server 2000)
SQLCMD -L (SQL Server 2005)
February 19, 2008 at 3:23 am
According to me you can only defragment the fragmented indexes.
February 19, 2008 at 2:31 am
As usual go to Add/Remove programs and Remove SQL Server. In the un-installation screen select the Instance that you want to remove.
February 19, 2008 at 2:22 am
Yes. You need to be a member of the Local Administrators group to install SQL Server 2005. More details can be found at
February 18, 2008 at 11:46 pm
See the below link in BOL for more information.
mk:@MSITStore:C:\Program%20Files\Microsoft%20SQL%20Server\80\Tools\Books\vdtsql.chm::/dvhowmodifyingcheckconstraint.htm
February 18, 2008 at 10:37 pm
I would suggest monitoring the following counters.
Processor:% Processor Time
PhysicalDisk:Avg.Disk Queue Length
PhysicalDisk:Disk Read Bytes/sec and PhysicalDisk :Disk Write Bytes/sec
February 18, 2008 at 8:31 pm
Thanks Scott. Even I checked the security log, still could not figure out. I am just wondering is there any better way to find this out.
February 18, 2008 at 8:27 pm
The Stored procedure which is already available on this site might serve your purpose.
http://www.sqlservercentral.com/scripts/Maintenance+and+Management/31929/
February 18, 2008 at 4:17 am
You can open multiple Database connections in a procedure.
Example
Dim Cn as OneConnection
Cn.connectionstring=..........
Dim Cn2 as SecondConnection
Cn2.ConnectionString
Cn.execute Qry
Cn2.execute qry.
With this you can use multiple database without creating ODBC Connections !
February 18, 2008 at 4:06 am
Viewing 15 posts - 1,141 through 1,155 (of 1,160 total)