Viewing 15 posts - 76 through 90 (of 164 total)
should u choose regular expressions route for this task, then match <..> substrings with
<[^<>]*>
and then replace the matches with
[empty string]
thus eliminating them from the original string
December 18, 2006 at 12:33 pm
your task text violates the rule by which a table [your output table in this case] must have columns with unique names. U have ColD repeated twice. U need to re-think the task...
November 18, 2006 at 8:01 am
being the official RegEx Junkie
of the forum, i'll post regular expression's solution for
this cleaning...
November 6, 2006 at 9:49 am
sorry, wasn't attentive enough..yes your function does the same thing..
November 6, 2006 at 9:09 am
i'd just delete everything that is in between the tags <.....>, ending up with the targeted text. One function call would do it.
November 6, 2006 at 8:39 am
waht if 'or' is at the start or end of a tested str? then u'll need more 'additional logic' I guess.
November 1, 2006 at 12:26 pm
taking your target str 'or' as an example, what u r looking here is the occurrences of the string in the form of a 'stand-alone' word i.e. speaking in regular...
November 1, 2006 at 10:32 am
if u can spare a min pls explain why it is relevant that the column is inserted *in the middle of the table*. whay is it important?
October 3, 2006 at 9:28 am
just run a simple *insert into * in a strore precedure - got no errors
ALTER
PROCEDURE [dbo].[sp1]
AS
BEGIN
September 27, 2006 at 9:35 am
when in Object Explorer, right-click on icon 'Databases' of the Server where u r about to restore your DB
then click 'Restore DB..'
Restore DB Wizard window...
September 26, 2006 at 12:01 pm
Sql_2005_fan
,
thanks u
for posting the function? Can it handle strings like
word1
,word2!word3#word4
September 26, 2006 at 10:35 am
in VStudio :
New => Project =>Visual C# => Database
by default it'll be SQL Server DB pjt. Use this if u dont have your templates.
September 25, 2006 at 3:09 pm
it's fun guys..
now i can calculate the distance betw the city I used ot live in Russia and my curernt location in the States..u only need to know the coordinates...
September 25, 2006 at 11:59 am
it's actually in your code already, u simply need to rearrange the query to get the mileage.
--it's calculated as [using a store coordinates: Longtitude = 0 Latitude = 0 as an example...
September 25, 2006 at 11:27 am
Viewing 15 posts - 76 through 90 (of 164 total)