Viewing 15 posts - 736 through 750 (of 1,086 total)
I do not know Pervasive DB, but can you show us an example of the date_booked data? Maybe conversion to varchar, then datetime will solve your problem.
CONVERT( datetime, CONVERT(...
I wasn't born stupid - I had to study.
June 29, 2005 at 10:59 am
R. Stewart's post piqued my interest and so I too took a look at your site. I must admit, as a dyed-in-the-wool American (with Irish roots ![]()
I wasn't born stupid - I had to study.
June 29, 2005 at 10:52 am
War of the Worlds just opened.., I would guess that is the cause. The aliens from Scientology (sp) are coming back....
I wasn't born stupid - I had to study.
June 29, 2005 at 10:41 am
Writing or creating the update can be easier than it may seem.
This is a script with known errors and is provided simply for an idea of how to approach...
I wasn't born stupid - I had to study.
June 28, 2005 at 12:33 pm
That's a pretty good idea. Having done this kind of thing before, it really is a booger to strip out the correct information.
I would seriously give andrewkane17's suggestion thought. ...
I wasn't born stupid - I had to study.
June 28, 2005 at 10:55 am
Here is a function from one of the members of this site. Once you figure it out, you should be able to reverse to only get the letters rather than...
I wasn't born stupid - I had to study.
June 28, 2005 at 10:47 am
Exactly correct. You will want to use Flow Control to accomplish this:
IF EXIST( SELECT TOP 1 IdentityField FROM Table WHERE @IdentityField = Identity)
BEGIN
UPDATE
END
ELSE
BEGIN...
I wasn't born stupid - I had to study.
June 28, 2005 at 10:37 am
I would suggest reading BOL for IDENTITY properties. You can use this:
SET IDENTITY_INSERT tablename OFF
but if you duplicate a value, you will have serious problems when you set it...
I wasn't born stupid - I had to study.
June 28, 2005 at 10:20 am
I would recommend you store the data as smalldatetime or datetime. You may want to inevitably do calculations on the SQL Server side as more data is entered into your...
I wasn't born stupid - I had to study.
June 28, 2005 at 9:26 am
If ORDER BY 1 is not supported, what replaced it? Specifying the column, (or in this case, the display) data directly? ![]()
I wasn't born stupid - I had to study.
June 27, 2005 at 2:49 pm
Its a Group Number. I did not know SQL Server could do that! Thanks Vasc
Did not realize you had already posted...
I wasn't born stupid - I had to study.
June 24, 2005 at 1:51 pm
I still don't understand how the first 1 (one) and only that parameter is being passed into the SP. Any help? ![]()
I wasn't born stupid - I had to study.
June 24, 2005 at 1:42 pm
I proved myself wrong: ![]()
CREATE TABLE Employees( EmployeeID integer,
City varchar(15))
INSERT INTO Employees VALUES( 1, 'Tacoma')
INSERT INTO Employees VALUES( 2, 'London')...
I wasn't born stupid - I had to study.
June 24, 2005 at 1:38 pm
It doesn't hide it, it ends the statement. ; is a valid character in SQL to end a line of code. (That is one of the tricks involved in using...
I wasn't born stupid - I had to study.
June 24, 2005 at 1:34 pm
I quickly threw together a weekly average. Maybe this will help you figure out a ten day moving average. ![]()
CREATE TABLE #Stocks( TradeDate datetime...
I wasn't born stupid - I had to study.
June 23, 2005 at 12:19 pm
Viewing 15 posts - 736 through 750 (of 1,086 total)