Forum Replies Created

Viewing 15 posts - 2,566 through 2,580 (of 5,103 total)

  • RE: Special character search

    Sorry I coudn't get back earlier.

    To make the long story short it is the conversion to Unicode what messes up the data because 'Œ' is not part of the...

  • RE: Special character search

    "Shipto" DATA TYPE, Please

     

  • RE: Creating a reporting database - log shipping vs replication

    If the "real-time" part is "very real" you have no choice but replication!!!

     

  • RE: Detecting Database Maintenance Mode on remote Server

    Usually this kind of maintenece is performed with Jobs. If you can query job status and next run date/time you should be able to  aviod the contention

  • RE: Cursor to insert a duplicate row battle with Identity column

    The Message is loud and Clear

    An explicit value for the identity column in table 'Employees' can only be specified when a column list...

  • RE: Help with prepared statement

    SET @sSQLCmd='

      update sv

         set sv.SupplierInternalKey = t.SupplierInternalKey,

             sv.PublicationStatus = 1

        from [' + @sServerName + '].[' + @sDbName + '].[dbo].SupplierItemAttributeValue sv, #MainSupplier t,

       (select ChangeLink, store

          from #emsstores...

  • RE: Special character search

    Couple of questions:

    What is the data type of "shipto"?

    What is the Collation of your database ?

     

  • RE: script help!!!

    Update Yourtable

    Set FName = Left(File_ext,Charindex('.',File_ext)-1),

        EXt = right( Rtrim(File_ext),3)

  • RE: T-SQL selecting into variable

    DECLARE @SQLStatement2 NVARCHAR(255)

    DECLARE @Myvar int

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

    exec sp_executeSql @SQLStatement2, N'@Myvar...

  • RE: T-SQL selecting into variable

    The statement you are trying to run returns a recordset and... you are trying to save a bunch of records in an integer variable?

  • RE: SQL Server Statement Error

    Eric,

    Are you actually executing the statements with the commented part or are they just compiled in a stored proc?

    also can you post the DDL of  "DW.dbo.DIMPromotion" and "#DimPromotion"...

  • RE: Handling errors in looped OPENDATASOURCE query

    Yo need to move the connection out of process. There are two possible solutions to this kind of problems.

    1. Implement it with DMO instead of OpendataSource.

    2. Use a job to...

  • RE: How to find that job is running?

    EugeneZ ,

    All the functions used in that query are documented!!

    Not all possible queries can be...

  • RE: How to find that job is running?

    The article is good but I think is overcomplicating the solution. Greg Larsen's Article besides using an undocummented feature is also missing a simple posibility:

    select *

    from openrowset('SQLOLEDB',

                    'Trusted_Connection=yes; Initial...

  • RE: How To Mess Up An Interview

    Sean,

    Once Again!

    • When you write something to be posted on the internet you need to have boundaries.
    • When you do it on a SQL Server site, it better has something to do...

Viewing 15 posts - 2,566 through 2,580 (of 5,103 total)