Forum Replies Created

Viewing 15 posts - 3,241 through 3,255 (of 3,543 total)

  • RE: How much do you earn?

    As a DBA, bugger all.

    I am a developer, title Software Engineer (fancy or retro eh!). But when our full time DBA left I had to pick...

  • RE: SQL 2K - Linked Servers - using an alias

    Someone else in another thread suggested something like this

    use Client Network Utility to create an alias (eg LINK1) that points to one of the servers (eg DEV) using the real...

  • RE: Backing up deleted Data from several tables

    How is the data being deleted? If it is done by a single proc then you can add code in the proc to store the data to be deleted in...

  • RE: Extracting from an ODBC source

    Load the data (from Pervasive) into a staging table and then create another task to insert into the dest table info that is not present.

  • RE: QOD 6/13

    Nice to know someone is! My boss is reviewing our SQL strategy and looking to move to SQL2000. Don't know when. Can't see us moving 2003 for a while.

  • RE: QOD 6/13

    Yep Frank, thats it. It is the only MS page I could find that specifies this. Other web sites mention the use of registry change as stated in the article.

    I...

  • RE: QOD 6/13

    If you check out this link

    http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B196909

    it states thet the configure option is on 2000 EM.

    For SQL7 you have to create the following key

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\NumErrorLogs

    Since the question did not specify a version...

  • RE: Who Are You? (as a DBA)

    I am one of those who did not know what 228 & 229 meant (until I read the topic further). We have 4 servers (SQL7 SP4)...

  • RE: DECLARING CURSOR FOR WITH A VARIABLE

    Actually you can, as long as it is in the same session/proc, like this

    declare @sql nvarchar(1000)
    
    set @sql = 'DECLARE curs CURSOR FOR select col1,col2 from...
  • RE: Stored Procedures parameter

    eily,

    Do you mean like this

    where @param = 'ALL' or (@param <> 'ALL' and charindex(cast(column as varchar),','+@param+',') > 0)

    param could be 'ALL' or '1' or '1,2,3' etc

  • RE: DTS encountered an invalid data value..

    IsDate in MS VBA does allow strange dates, I belive it only does generalized checking and in your case would always work.

    SQL seems to have trouble converting dates, try this

    declare...

  • RE: Clustered SQL Server backup & local drives

    Brian,

    Not to labour the point too much but if the intention of the question was to elicit an answer to 'why can't Enterprise Manager see the local drives' then I...

  • RE: DTS encountered an invalid data value..

    Good one Richard. However in my case if the year is less than 1900 (suspect date) then I don't want the date anyway (what would be the correct year?) that...

  • RE: Using "Like" or Wildcard

    Do you mean

    <% r.Open "SELECT LEDef_Cd, LEDef_Name, LEDef_Desc, LEDef_ActiveInd, LEDef_PublicInd FROM LEDef WHERE (LEDef_ActiveInd = 1) OR (LTRIM(LEDef_Cd) LIKE '10%')", "UID=aspen;PWD=aspen;DSN=aspen" %> 
    

    Sorry had...

  • RE: smalldatetime format question

    In .NET is use

    Now().ToString("s").Replace("T", " ")

    which gives me yyyy-mm-dd hh:mm:ss format, which sql has no problems.

    If you do not want the time portion use

    Now().ToString("s").Substring(0,10)

Viewing 15 posts - 3,241 through 3,255 (of 3,543 total)