Viewing 15 posts - 61 through 75 (of 1,085 total)
Try looking at this page and passing more information... It is difficult to know what someone is getting and what they want to retrieve without some data, code, etc....
December 1, 2006 at 10:43 am
Nice solution!
DECLARE @nstuResults TABLE( Key_ varchar(25),
Rank integer,
Data varchar(10))
INSERT INTO @nstuResults
SELECT '123456-Sub_ID-Exam_Name', 1, '330'
UNION ALL
SELECT '123456-Sub_ID-Exam_Name', 5, '3'
UNION ALL
SELECT '123456-Sub_ID-Exam_Name',...
November 22, 2006 at 11:15 am
I think that will still return a "datetime" value. Look it up in BOL. (It returned the 12:00:00 AM value in my Query Analyzer)
November 21, 2006 at 3:09 pm
It should work as long as the table is full-text indexed.
Try the following for @inputParm on a table that you can blow away...
SET @inputpart = '; DROP TABLE...
November 21, 2006 at 11:36 am
November 21, 2006 at 10:40 am
If I am understanding you correctly, you have a column in one table that is varchar with a date only as the entry; I do not know any other datatype which...
November 20, 2006 at 7:40 am
Can you elaborate? Your two choices: smalldatetime and datetime will yield "time". Are you using this value in a select statement or passing it to another database or a front-end...
November 20, 2006 at 5:24 am
DECLARE @Value AS datetime
SET @Value = '11/20/2006'
SELECT @Value
SELECT CONVERT( varchar, @Value, 101)
November 20, 2006 at 5:04 am
Try this: SELECT CONVERT( varchar, GETDATE() , 101)
You can change the 101 to any other number of formats to fit your need...
November 20, 2006 at 12:46 am
Although I personally agree with Sergiy, this is interesting fodder for thought.
Clean up is always a consideration, but it does vary with each platform. Fourth generation applications are insidious...
November 19, 2006 at 10:31 pm
You betcha! Nice to be thanked.
I think this link is goofed up. Here is a better one...
Identify Primary Key Violation Prior to Insert (Updated) script by kgayda ...
November 18, 2006 at 4:13 pm
Doh! I am seeing the utility of both points; especially if you are using a Connected Dataset as opposed to a disconnected. It seems you would have to build another...
November 18, 2006 at 12:06 pm
This is an "as the crow flies" approach. If you are using streets between stores within a given area, (i.e., from one location within a town to another location within...
November 18, 2006 at 12:01 pm
Viewing 15 posts - 61 through 75 (of 1,085 total)