Viewing 15 posts - 76 through 90 (of 5,355 total)
You're pretty close. It has nothing to do with hex.
D and E are used in Fortran to represent FLOATs in scientific notation. SQL...
July 20, 2005 at 1:42 am
First of all the bad news. I am not aware of any tool that will do the job automatically.
Now the good news. I...
July 13, 2005 at 12:17 am
Just noticed that you posted DDL.
select
TradeDate, TradePrice,
(select avg(TradePrice*1.0)
from Stocks t2
where t2.TradeDate between dateadd(dd, -10, t1.TradeDate) and t1.TradeDate
 
June 24, 2005 at 1:43 am
Suppose you have a table with 3 columns ISIN as internationally recognized identifier, date of the quotation, and the closing quote, you can do
select
isin, date, close,
(select avg(close)
...
June 24, 2005 at 1:33 am
Putting it all together. This is how I understand this problem.
create table #showme
(
c1 int
, c2 int
)
insert into #showme
select 1,1
union all
select 1,2
union all
select 1,3
union all
select 2,1
union...
June 23, 2005 at 7:15 am
I'll be waiting for your questions
Have you read the original question and noticed the given table structure
June 23, 2005 at 6:26 am
It's not worth talking about. This table is a design nightmare of a "super" lookup table.
June 23, 2005 at 6:24 am
What you need to do is WHERE fldModelID = 1 AND fldModelID = 2 AND fldModelID = 3....
Assuming that column only contains a scalar integer value, how should this ever...
June 23, 2005 at 6:08 am
Have a look at the IDENTITY property In SQL Server's Books Online.
June 23, 2005 at 4:31 am
CREATE TABLE test
(
idx INT
, idx2 INT
CONSTRAINT ux_test UNIQUE(idx, idx2)
)
INSERT INTO test SELECT 1, 1
INSERT INTO test SELECT 1, 1
SELECT * FROM INFORMATION_SCHEMA.CONSTRAINT_TABLE_USAGE t1
JOIN INFORMATION_SCHEMA.CONSTRAINT_COLUMN_USAGE t2
ON t1.TABLE_NAME=t2.TABLE_NAME
WHERE OBJECTPROPERTY(OBJECT_ID(t1.CONSTRAINT_NAME),'IsUniqueCnst')=1
DROP TABLE test
seems to...
June 23, 2005 at 4:16 am
This is an internal helper table used by SQL Server.
June 23, 2005 at 3:37 am
N denotes that the following string is a unicode string.
June 23, 2005 at 1:41 am
SELECT * FROM INFORMATION_SCHEMA.CONSTRAINT_TABLE_USAGE t1
JOIN INFORMATION_SCHEMA.CONSTRAINT_COLUMN_USAGE t2
ON t1.TABLE_NAME=t2.TABLE_NAME
WHERE OBJECTPROPERTY(OBJECT_ID(t1.CONSTRAINT_NAME),'IsUniqueCnst')=1
AND t1.TABLE_NAME='...'
should do.
June 23, 2005 at 1:37 am
See if this helps, before you consider that addditional RAM wasted:
June 22, 2005 at 8:50 am
Viewing 15 posts - 76 through 90 (of 5,355 total)