Viewing 15 posts - 16 through 30 (of 40 total)
I knew I'd find the answer here.. Thanks..I didn't think to look at the convert statement
October 31, 2003 at 9:12 am
My requirements are this...
I'm writing a "simple" select statement that returns the date in this format yyymmdd so I have this
select convert(varchar,datepart(yyyy,duedate)) + convert(varchar,datepart(mm,duedate)) + convert(varchar,datepart(dd,duedate)) from ....
but with a...
October 31, 2003 at 8:01 am
Well,
I got the thing working in the Query Analyzer, but I'm getting an error in my Vbscript whne using the Wscript.Shell Object. I hope the Run command doesn't have...
October 1, 2003 at 11:11 am
Maybe I can load the file into a VBscript variable then use isql or osql to execute the stored procedure, passing the variable as the parameter?
Sounds like it should work...in...
September 29, 2003 at 7:45 am
Sounds like it should be simple.
Do you have an example of how this is done??
September 29, 2003 at 6:47 am
yup
the message I get is
The text, ntext, and image data types are invalid for local variables.
September 26, 2003 at 1:54 pm
Ok, does the field HAVE to be a primary key to have a constraint on it?
April 30, 2003 at 7:17 am
Never mind, I wrote my own. Here's the code if you're interested, although it'd be interesting to know if there is such a function to do this automatically. The code...
February 18, 2003 at 9:02 am
This does it but it seems a bit extream??
select
case len(convert(varchar,datepart(mm,PartsDueBy)))
when 1 then '0' + convert(varchar,datepart(mm,PartsDueBy))
when 2 then convert(varchar,datepart(mm,PartsDueBy))
end
+ '/' +
case len(convert(varchar,datepart(dd,PartsDueBy)))
when 1 then...
September 30, 2002 at 9:12 am
NPeeters,
That too was on my mind, I'm actually selecting from a view and the table the view is refering is part of my morning dumps from another database (Progress) and...
September 6, 2002 at 6:50 am
NPeeters,
I was going to say never mind I found the problem..and it was exactually what you suggested!! Thanks for the reply anyway!
Petey20
September 6, 2002 at 6:17 am
By excel Column headers, I mean the first row to contain the table column names.
August 19, 2002 at 12:16 pm
Check the schedlgu.txt file which is the log file for the scheduler. See if it's a login issue. If it is and If you're running ASP .NET framework on this...
August 19, 2002 at 10:42 am
does this do it??
insert into srnntemp
SELECT srnntemp.*
FROM srnntemp where not exists
...
July 18, 2002 at 2:52 pm
Viewing 15 posts - 16 through 30 (of 40 total)