Forum Replies Created

Viewing 15 posts - 3,181 through 3,195 (of 3,606 total)

  • RE: anybody knows ASP

    If a field in your recordset object contains data then use ASP to write out the html <input..> tag with a READONLY attribute and VALUE attribute as picked up from...

  • RE: anybody knows ASP

    So basically

    if(rs!FirstName){

     write("<input type=text name=txtFirstName READONLY value=\"" & rs!FirstName & "\">");

    else

     write("<input type=text name=txtFirstName>"); 

     

  • RE: Retreiving special characters

    I had something similar and had to define a table as follows:-

    DECLARE @tbl TABLE (SerialNumber VARCHAR(20) COLLATE SQL_Latin1_General_CP1_CI_AS PRIMARY KEY CLUSTERED)

    I also had a problem when the "default language" on...

  • RE: Retreiving special characters

    Are your databases on different servers?  If they are then check the collations and character sets.

    If they are on the same server then why not use a straight select?

    If database...

  • RE: anybody knows ASP

    I would do processing like this in one asp page.

    The submit button has a value, or if you are using <input="image"....> a hidden field has a suitable value.

    The page always...

  • RE: Export/Import of database creates views in wrong order

    There are two ways that I would approach this, and both of them involve scripting.

    1. Use the generate script option on your objects.

    SQL Server will generate the usual MS verbosity...

  • RE: Dont Get Left Behind

    The trick is to sort the wheat from the chaff!

    I've lost count of the number of technologies/technology companies that were going to be the next big thing, but after a flurry...

  • RE: Cursor or String

    It is not really clear from your code what you are trying to do.

    The settings of your SQL Server will affect how NULL values are interpretted so be careful, otherwise...

  • RE: Use IsNumeric() to evalute Ssring that starts with 0D or 0E

    IF isnumeric(@s)= 1 AND PATINDEX('%[A-Z]%',@s)=0

         PRINT 'All Number'

    ELSE

        PRINT 'NOT All Number'

     

    This is a weird one.  At first I thought it was interpretting your value as a hexadecimal number but SET...

  • RE: 80 columns by 6 million rows

    Sorry, I forgot to add.  Splitting the table into more than one by columns is vertical partitioning.

    If your users tend to search for last months transactions then I would consider...

  • RE: 80 columns by 6 million rows

    I had this problem where I had to get transactions from 15 countries on a monthly basis.

    My solution, pre-analysis services was to create specific summary tables that pre-aggregated the data.

    For...

  • RE: Creating a System Stored Procedure

    Personally I couldn't give a damn about the "don't use capitals" issue.

    For the pedants out there I do understand about case sensitivity.

    What I care about is whether or not there...

  • RE: Corporate bullying - be nice to your IT staff.

    It could have been nasty and obviously the exec wanted him skinned alive.

    Fortunately IT manager took the view that he should be the one to discipline his own staff so...

  • RE: Question about using SoundEx to find Client Name Duplication

    SOUNDEX on SQL Server is too limiting.

    You need an equivalent that takes into account more letters so that you can tune your dedupe process.

    You also need to be able to...

  • RE: Dont Get Left Behind

    In other words learn to be a development DBA.

    One thing I have learnt in my career is that "in the land of the blind the one eyed man is king". ...

Viewing 15 posts - 3,181 through 3,195 (of 3,606 total)