all groups > sql server programming > june 2006 > threads for saturday june 17
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
1NF Violation?
Posted by Frankie at 6/17/2006 11:28:34 PM
I'm evaluating an existing database for a medical clinic. It has many tables
with *identical columns*. Apparently the existing dba thought that doctors
with different specialties were different entities: like "Cardiologists"
"Hepatologists" "Etc". These tables store contact information, inclu... more >>
SET NOCOUNT ON?
Posted by Rob Meade at 6/17/2006 11:11:14 PM
Hi all,
I'm trying to insert a record into a database via ASP, and then extract the
id of the current row using @@IDENTITY...
I've read the articles on ASPAQ and somewhere else regarding the use of the
above, but I do actually want the ID of the row inserted using this
connection, not just ... more >>
SQL Date
Posted by Sunny2006 at 6/17/2006 3:01:01 PM
Hi, I am trying to cast or convert the datevalue (from varchar) to date type
and compare the date and get the records of last 3 days onwards and ignore
previous records. The current date format is 'yyyymmdd'.
I used the following statements and compare value to -3 days to current
date. So w... more >>
trouble with table-valued function
Posted by SomeGuy at 6/17/2006 11:47:29 AM
Weird problem. I have a table-valued function (not inline) called
SalesByKeyword which returns a table of sales stats for products
containing a keyword/phrase in their descriptions. The function works
fine when I pass a constant into it as the keyword, but I'm trying to
have it evaluate for each... more >>
;?
Posted by Senna at 6/17/2006 11:33:01 AM
Hi
This is maybe a dumb question, but what difference does the ; make after a
statement in a sp, view etc.
My thought is that when using ; after a statement I tell the query engine
that a statement is finished and it can go on to the next. This way it don't
have to make that assumption s... more >>
Give me your Thoughts-Storing format in database
Posted by Johnny at 6/17/2006 6:43:14 AM
Hi all,
I have the following tables:
NumberKey
ID
Name
NumberValue
ID
NumberKey_ID
Value
The values stored in the NumberValue table could be currency,
percentage, or number that require 7 digits to the right of the decimal
place, etc., etc. (This table is not very big, so I'm stor... more >>
ordinal_position
Posted by Taha at 6/17/2006 12:00:00 AM
Hi All
When You Drop Column And add New one (ordinal_position) from
INFORMATION_SCHEMA.COLUMNS Error
Select ordinal_position FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME =
'MyTable' And Column_name ='Mycolmun'
any idea
Thanks
... more >>
|