Viewing 15 posts - 136 through 150 (of 790 total)
Er, yuk!
As you're obviously finding out now, SQL 6.5 is a bit of a mongrel. One major difference from SQL 7/2000 is that all information regarding the quite complicated makeup...
Cheers,
- Mark
February 26, 2004 at 1:21 am
My mistake Robert.... as we're often warned, the question text changed between newsletter (which omitted the Enterprise Manager bit) and what was on this site. I failed to re-read it.
Cheers,
- Mark
February 25, 2004 at 12:44 pm
Ah ha... Enterprise Mismanager! I was wondering how so many people got the "correct" answer.
In that case the real correct answer is "ENTERPRISE MANAGER won’t let you put in a...
Cheers,
- Mark
February 25, 2004 at 4:15 am
My version of SQL 2000 does as BOL states... it allows/executes the restore and gives a message "This log file contains records logged before the designated point-in-time. The database is...
Cheers,
- Mark
February 25, 2004 at 2:17 am
Phill,
Some inline views may help simplify it:
select Account, Address1 = substring(address, 1, delimpos1-1), Address2 = substring(address, delimpos1+1, delimpos2-delimpos1-1), Address3 = substring(address, delimpos2+1, delimpos3-delimpos2-1), Address4 = substring(address, delimpos3+1, delimpos4-delimpos3-1), Address5 =...
Cheers,
- Mark
February 23, 2004 at 1:52 pm
Terry,
You must always specify an ORDER BY to GUARANTEE that results will be returned in that order.
More often that not, if your data is physically in the order that you...
Cheers,
- Mark
February 22, 2004 at 9:38 pm
I think it's just an example. Phil will be combining results of charindex with other text handling functions (eg LEFT, as shown in his other example).
Cheers,
- Mark
February 22, 2004 at 9:30 pm
You can use ::fn_trace_gettable to read trace files and/or load them to SQL tables. Other undocumented extended stored procedures (eg. xp_dirtree and xp_getfiledetails) can be incorporated to determine the files generated by...
Cheers,
- Mark
February 22, 2004 at 8:47 pm
Phil,
Prepare to kick thyself....
it should be: CHARINDEX(';', [address])
![]()
Cheers,
- Mark
February 22, 2004 at 8:32 pm
crdate gets set when you create or drop/create the procedure. unfortunately it doesn't get touched when you alter the procedure. as wz700 points out, schema_ver gets updated on alter... but...
Cheers,
- Mark
February 20, 2004 at 1:08 am
I've taken advantage of your offer. Thanks.![]()
Cheers,
- Mark
February 19, 2004 at 2:53 pm
Why is Report Designer not a valid choice? It allows creation and preview of reports.
Cheers,
- Mark
February 19, 2004 at 1:23 am
I don't see why such a query wouldn't work. The following works fine for me on both SQL 2000 and 7.0.
use pubs
select t.title, a.state
from titles t
inner join authors a on...
Cheers,
- Mark
February 18, 2004 at 8:36 pm
Unfortunately the IDENTITY function - which can generate incrementing numbers - only works with a SELECT INTO, not a normal SELECT. So, to achieve the results you're after you may need...
Cheers,
- Mark
February 18, 2004 at 7:14 pm
Viewing 15 posts - 136 through 150 (of 790 total)