Viewing 6 posts - 1 through 6 (of 6 total)
Thank you for your responses. I will use an order by.
Which version of BOL do you have?
Mine (SQL2K) only shows:
April 29, 2005 at 3:02 pm
where convert(varchar(10), date_column, 101) = convert(varchar(10), getdate()-1, 101)
December 28, 2004 at 12:43 am
Most developers would use a stored procedure that your application would call to generate the next number.
Since I'm more of a DBA than a developer, I would use an...
December 28, 2004 at 12:39 am
Try this:
select cast(convert(varchar(10),[field_name],101) as smalldatetime)
December 10, 2004 at 12:39 pm
The following is probably what you want. I joined the inserted table and changed the where clause to use the inserted table. I'm also assuming that sch_id is a primary...
November 1, 2004 at 10:01 am
It looks like you're trying to get a list of sysobjects for every database. If so, copy and paste the following in Query Analyzer:
sp_MSforeachdb 'select substring(name, 1, 30) ''[?]'' from...
October 22, 2004 at 9:09 am
Viewing 6 posts - 1 through 6 (of 6 total)