Viewing 15 posts - 211 through 225 (of 248 total)
Also, make sure that the sub-query returns only a single record since you are assigning it to a variable.
September 23, 2005 at 11:39 am
You can use spotlight from Quest. It is a very good tool..the URL is given below:
http://www.quest.com/sql_server/
September 23, 2005 at 11:18 am
The "UPDLOCK" locking hint is used when doing a select for update i.e. when you are using pessimistic concurrency model and you want to make sure that no-one else can...
September 23, 2005 at 10:52 am
Have you taken a look at the deadlock output after turning on the deadlock trace flags: 1204, 1205 and 3605 ?
That will give you more information on what is going on...
September 23, 2005 at 9:38 am
We have our own home-grown SS2k database for this which maintains information about the servers, the databases, the applications etc.. We support Oracle, SQL Server and DB2-UDB and have lots of...
September 21, 2005 at 6:42 am
One more option could be to use a computed column which gets populated automatically using the UPPER function so that the values in that column would always be upper case. ...
September 21, 2005 at 6:19 am
Very nice solution Merrill.
September 19, 2005 at 8:47 am
Yes, there is - it also depends upon what that function on Oracle does.
An example (this uses the in-built function GREATEST from Oracle):
SELECT * FROM OPENQUERY (TESTCASE, 'SELECT GREATEST(7, 11)...
September 19, 2005 at 8:43 am
One thing that I wanted to mention about the approach from above - since it is based on the running total after the randomization is done - it looks for...
September 16, 2005 at 11:54 am
It can be done in a couple of ways...I am listing one of the ways to do this:
--Creating the actual table
CREATE TABLE TESTCASE (ID INT IDENTITY(1, 1) PRIMARY KEY, POINTS...
September 16, 2005 at 8:37 am
The above example will work if the database is on the same instance. If you want to extend this further and wish to query from a table from a...
September 15, 2005 at 5:44 pm
That is the default port - you do not have to configure it for 1433. Default installations of SQL Server monitor TCP port 1433 and UDP port 1434. There are...
September 15, 2005 at 6:04 am
September 15, 2005 at 5:53 am
And why would you not want to use linked servers then ? You either have to make two connections (one to SQL and one to DB2) or if you...
September 14, 2005 at 5:49 pm
You can also create a DTS package...make a connection DB2/AS400 and then use the in-built execute task to execute SQLs on DB2.
September 14, 2005 at 1:35 pm
Viewing 15 posts - 211 through 225 (of 248 total)