Forum Replies Created

Viewing 15 posts - 781 through 795 (of 1,346 total)

  • RE: DTS Table Data from Oracle to SQL Server.

    It would be easier to create a sql task that populates a variable with the value of the Max(CreateDT) from sqlTable1, then pull data from Oracle.Table1 where CreatDt > ?...

  • RE: select Like!

    I would say that it would be more appropriate to define your site description table with a siteID foreign key to be more explicit. In pattern matching, on a join...

  • RE: T-SQL selecting into variable

    you cannot put a recordset into a parameter.

    try sp_execute_Sql

    select @SQLStatement = 'select @Myvar = low FROM [' + @servername + '].master.dbo.spt_values WHERE number = 1 and type = ''E'''

    exec sp_executeSql...

  • RE: select Like!

    Without your table schema, relationships, data, and desired result it is extremely difficult to help you.

    Please post what your tables, relationships, and sample data.

    http://www.aspfaq.com/etiquette.asp?id=5006

     

  • RE: order of items when using distinct

    Count(distinct email) only counts the distinct emails from your resultset.

    if you do

    select distinct region, c2.classID, count(*)

    From MyTable

    Group by region, c2.classID

    But I'm not exactly sure, post some data if you...

  • RE: PC specs?

    Built myself a

    P4 2.8c ghz hyperthread

    MSI 865PE NEO PLS Motherboad w/ dual channel memory.

    1.5 Gig Ram

    80 g seagate barracuda IDE HD

    Lite on CD-RW

    EVGA NVIDIA Fx5600

    LeadTek TV2000XP Video Capture...

  • RE: Exporting a View to a CSV

    Use DTS, BCP, or Query analyzer.

    For QA you first have to set your results to be comma delimited.

    Tools --> Options --> Results tab --> Results output format pick comma delimited. ...

  • RE: Replicate Table

    Correct, your replication will fail if the data is not right when that row is updated from the publication.

    The only type of replication you can use if you want to...

  • RE: error converting data type varchar to numeric-----very urgent

    I suggest you pick up a book, or read books online about dts.

    Also http://www.sqldts.com/ is a great place to pick up information about dts.

    Does your destination table have a column,...

  • RE: what''''s wrong with simple statement?

    doesn't matter

    what are you trying to do?

    what is the value of the @ReverseFields?

    Replace the exec with a PRINT and what is output in the messages window?

    You need to see...

  • RE: error converting data type varchar to numeric-----very urgent

    The error means exactly what it says.

    Your inserting data into a column in a table that the data type is a numeric, but the data your inserting is in a...

  • RE: Is it possible to do this, because I can''''t find a way

    I'm pretty sure you'll need dynamic sql to pass the servername as a parameter, and also pretty sure you cannot declare a cursor in dynamic sql, so I don't believe...

  • RE: Thanks Ray - Len Word

    Example

    declare @String varchar(100)

    set @String = 'M Carlos'

    select Stuff(@String, Patindex('[A-Z] %', @String ) +1, 1, 'h ')

    Result

    'Mh Carlos'

    OOPS EDITED:

    update mytable

    set myColumn = Stuff(@String, Patindex('[A-Z] %', myColumn) +1, 1, 'h ')

    where Patindex('[A-Z]...

  • RE: DTS Error

    You can run a profile trace analyzing locks, Pick the events you want to monitor and wait for it to happen again.

     

  • RE: what''''s wrong with simple statement?

    Its likely in the @ReversFields parameter.

    Try to do a Print 'SELECT ' + @ReverseFields + ' = COUNT(ItemID) FROM biditems where EventID in (' + @EventID + ')'

    and see what...

Viewing 15 posts - 781 through 795 (of 1,346 total)