Viewing 15 posts - 76 through 90 (of 103 total)
Hi,
Did you try to use derived tables to achieve this.
select etc
from tablea a, (select guestid, name from Guest order by guestid) as b
March 7, 2005 at 12:57 am
Hi,
I think this cannot be done within a single sql query. If you are using a derived table that is possible. (Select any key column instead of ID)
SELECT...
March 7, 2005 at 12:46 am
Hai,
If you drop a table it is faster. But with all its side effects like You need to recreate the table from scratch. (Have the table definition script). . You...
March 2, 2005 at 11:47 pm
Thanks a lot. This worked well. A silly mistake
Just to test how to apply scalar function to table
March 2, 2005 at 1:03 am
Hi James,
What I meant was try connecting from command prompt with the mentioned trace flag
March 1, 2005 at 9:45 pm
Hai,
Are you trying to use multiple threads from any front end application.
March 1, 2005 at 9:33 pm
Hai,
Both the statements have a syntax error. Please use the forum for useful purpose
March 1, 2005 at 9:23 pm
Hai,
When recovery occurs SQL has to scan through the log looking for these updates as well as committing new updates that might be occurring on other databases.
Additonally to check on...
March 1, 2005 at 4:13 am
Hai,
Use this
select substring('sub001-001',charindex('-','sub001-001')+1,len('sub001-001'))
If it is a column then use this
select substring(materialcod,charindex('-',materialcod)+1,len(materialcod))
March 1, 2005 at 2:46 am
Take care of boot.ini switches /3 GB
/3gb. Lets user-mode applications access 3GB of memory instead of the usual 2GB that NT allocates...
February 23, 2005 at 3:49 am
Hai,
Try this
Create table Qty
(REcordType int null,
Quantity_Ord int null)
Insert into Qty values (20,100)
Insert into Qty values (21,100)
select RecordType, Quantity_Ord = case when REcordType <> 20...
February 23, 2005 at 1:25 am
Hai,
Simply modify the above query
select name as column_name , collation collation_name ,id from syscolumns where id in (select id from sysobjects where name ='thetable') and collation is not null
February 22, 2005 at 8:56 pm
Hai,
Did you try quering the sysprocesses table or looking into registry for all instrance. There is a system stored proc master..xp_regread to read
February 22, 2005 at 8:20 pm
Hai,
By default, SQL Server 7.0 and 2000 are set to use "Use All Available CPUs" on a server. If this is not your current setting, then this has...
February 22, 2005 at 7:35 pm
Viewing 15 posts - 76 through 90 (of 103 total)