Forum Replies Created

Viewing 15 posts - 76 through 90 (of 164 total)

  • RE: Stripping HTML tags from data

    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

  • RE: Sql Server Query Problem

    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...

  • RE: Extract text

    being the official RegEx Junkie

    of the forum, i'll post regular expression's solution for

    this cleaning...

  • RE: Extract text

    sorry, wasn't attentive enough..yes your function does the same thing..

  • RE: Extract text

    i'd just delete everything that is in between the tags <.....>, ending up with the targeted text. One function call would do it.

  • RE: searching for whole words in text fields

    waht if 'or' is at the start or  end of a tested str? then u'll need more 'additional logic' I guess.

  • RE: searching for whole words in text fields

    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...

  • RE: Add a column with Alter Table

    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?

  • RE: Bug with insert inside stored proc

    just run a simple *insert into * in a strore precedure - got no errors

    ALTER

    PROCEDURE [dbo].[sp1]

    AS

    BEGIN

  • RE: URGENT HELP - Restore database

    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...

  • RE: words of a string

    Sql_2005_fan

    ,

    thanks u

    for posting the function? Can it handle strings like

    word1

    ,word2!word3#word4

  • RE: VS 2005 Project of type Database Project

    in VStudio :

    New => Project =>Visual C# => Database

    by default it'll be SQL Server DB pjt. Use this if u dont have your templates.

  • RE: Find distance between zipcodes

    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...

  • RE: Find distance between zipcodes

    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...

  • RE: words of a string

    thanks Jeff, I got it.

Viewing 15 posts - 76 through 90 (of 164 total)