Viewing 7 posts - 1 through 7 (of 7 total)
Don't forget about:
November 2, 2004 at 2:53 pm
You can also use the CONVERT function - see sql online books for detail or help.
Using CONVERT you can cater for different date format eg US, British, etc and/or convert the date...
August 26, 2004 at 6:42 am
Another possibility is (assuming Customer 'Steve' is unique):
select * from orders
where
OrderID = (select OrderId from Orders where Customer = 'Steve') + 1 )
or
OrderID = (select OrderID from Orders...
August 9, 2004 at 5:32 pm
In PutFiles.txt, you have:
open 111.11.111.11
Login
Password
bin
lcd F:\Backupdir
mput *.zip
y
y
y
y
y
quit
You could rewrite it as follows:
open 111.11.111.11
Login
Password
bin
lcd F:\Backupdir
prompt
mput *.zip
quit
The prompt keyword will switch to non interactive mode, saving you from replying to each put statement.
Alternatively,...
July 21, 2004 at 4:40 pm
There is always the option of writing a VB or C application to check the Excel spreadsheet and update any changes to SQL table(s).
July 14, 2004 at 4:12 pm
Assuming NULL is permitted in the column/table and there are no default values for the column, then omitting the field from the import file should automatically assign a null value...
July 6, 2004 at 2:47 am
If you wish to use (assuming you are using SQL2000) sp_attach_db, I suggest the following basic steps:
1) detach the db in question (lets say it is called db_Orig).
eg exec...
June 23, 2004 at 4:33 pm
Viewing 7 posts - 1 through 7 (of 7 total)