Viewing 15 posts - 3,556 through 3,570 (of 6,486 total)
GSquared (4/21/2008)
declare @Test varchar(100)
select @test = '1
2
3'
select @test = replace(@test, '
', '')
select @test
That works for me. ...
April 21, 2008 at 9:13 am
GSquared (4/21/2008)
In...
April 21, 2008 at 9:03 am
The big question in my mind is why a datetime parameter is being passed as nvarchar.... You REALLY don't want to do that. Bind the datetime parameter to...
April 21, 2008 at 8:55 am
GSquared (4/21/2008)
The example I used...
April 21, 2008 at 8:27 am
Ian Massi (4/18/2008)
April 18, 2008 at 7:29 pm
Tony Davis (4/18/2008)
Cheers,Tony.
Let me get this straight: to paraphrase this using terms Jeff can associate with, the exceptional DBA lives by the following motto:
"Best defense - no be...
April 18, 2008 at 7:27 pm
If I remember correctly - the duration is expressed in some funky notation ("integer" version of HHMMSS), so in order to add them together - you'd have to convert them...
April 18, 2008 at 3:02 pm
ALZDBA (4/18/2008)
try to add an "order by 1,2,3 " at the sqlserver side as wel as at the access side.
Maybe then you'll see the data...
April 18, 2008 at 1:01 pm
Chris Gierlack (4/18/2008)
Uhhhhhhh.....HAI don't even have words for that one....yeah....
that worked....hehehehehe
thanks!
oops...:)
What can I say - Friday it is, hmm? (Yoda-style?)
By the way - for better or worse - if you...
April 18, 2008 at 12:36 pm
hmm. It seems to at leaqst remove some of them for me.
Another, more reliable way - CLR and a Regex construct. That would give you:
set @t=dbo.regexreplace(@t,'(\r)+',char(13)+char(10)) -- the...
April 18, 2008 at 12:23 pm
Ivanl - Could you post the SQL from both what you do in SQL Server and in Access? something's missing - but we can't tell without some specifics....
April 18, 2008 at 11:40 am
...and in that case your WHERE clause would make no sense (since all of the columns you want updated are already equal to the values you want to set them...
April 18, 2008 at 11:39 am
I'm not sure what you're asking. If you have a dual-homed setup, then referring to devices by their Private address will tell the machine to use the private network....
April 18, 2008 at 11:35 am
Chris Gierlack (4/18/2008)
For example,
declare @t varchar(max)
set @t = 'test return
test return2
'
set @t = replace(@t, char(10)...
April 18, 2008 at 11:32 am
Mark -
Barry and I kind of stumbled on that the other day. Take a look over here...
http://www.sqlservercentral.com/Forums/FindPost483865.aspx
You essentially have to "take the namespace on head-on", meaning declare it and...
April 18, 2008 at 11:11 am
Viewing 15 posts - 3,556 through 3,570 (of 6,486 total)