Viewing 15 posts - 3,091 through 3,105 (of 3,543 total)
BOL will give you details and examples of ntext search & replace using PATINDEX, DATALENGTH, TEXTPTR, UPDATETEXT etc.
Do you want to update the ntext col or use it in a...
September 9, 2003 at 7:53 am
Rough solution (not tested)
DECLARE @RecCount int
SET @RecCount = 1
CREATE TABLE #TempDoc (DocumentID int)
CREATE TABLE #TempDoc1 (DocumentID int)
CREATE TABLE #TempDoc2 (DocumentID int)
INSERT INTO...
September 9, 2003 at 7:16 am
Yeah, buffer overrun or more probably memory leak!
September 9, 2003 at 7:04 am
OK Frank,
Stupdi me, figner troublle agin....
should have been 'for 3 weeks'.
September 9, 2003 at 6:51 am
Started off as a programmer (Woolworths UK) in 1976 with ICL 1900 mainframe using COBOL and ICL IDMS databases, progressed to ICL 2900, ICL ME29. Made redundant, Joined Colt and...
September 9, 2003 at 6:48 am
Hi Frank,
Naming names eh! That's not fair. I would have responded anyway but out of the office for 3 weeks (as you know) and BTW thanks for the emails.
As for...
September 9, 2003 at 6:33 am
In that case can you post the table definition and some sample data in that format and is there a maximum number of 'Comp' values?
August 7, 2003 at 8:07 am
As Allen's post alludes to, openquery must have a resultset returned. You can fool sql server by appending a dummy select to the query. In sql server I would do...
August 7, 2003 at 8:04 am
Here's a solution using dynamic sql
declare @max int
declare @ct int
declare @sql nvarchar(250)
select @max = max(Comp) from tablea
create table #newtable ([ID] int)...
August 7, 2003 at 7:52 am
Don't know about functions (I'm on SQL7) but I suppose you could write a function to return a result of lookup for username in master..syslogins and check sysadmin, securityadmin, serveradmin,...
August 6, 2003 at 7:40 am
BOL = Books OnLine. It's SQL Server help manual if you like. It is installed when you install SQL Server or the client tools. It is the first place I...
August 6, 2003 at 2:08 am
No, I was referring to the function. According to my BOL (SQL7) you can supply a seed for the IDENTITY function but it does not imply that you can use...
August 5, 2003 at 7:26 am
Can you post the format file and some sample (non sensitive) data.
August 5, 2003 at 6:21 am
Is there anything in the tables to identify the rows to enable a match. Without any row numbering even cursors may give you inconsistent results, remember sql server does not...
August 5, 2003 at 6:19 am
There is nothing in SQL7 BOL either way about using a variable. Try this as an alternative
create table #temptable (rowID int IDENTITY(1,1),...)
DBCC CHECKIDENT (#temptable,...
August 5, 2003 at 6:13 am
Viewing 15 posts - 3,091 through 3,105 (of 3,543 total)