Forum Replies Created

Viewing 15 posts - 13,351 through 13,365 (of 13,429 total)

  • RE: Problem with searching a table containing apostrophes

    assuming you are using asp and not .net, because you were referencing Request.Form, i think you could use something like this to get your recordset of values.

    you still have to...

  • RE: how to zip file

    for those of you who are too cheap to buy and register winzip(command line winzip is not free, i beleive)

    you can use PKZIP25.exe, which is the last free command line...

  • RE: Automatic Backup Script

    I've done something very similar; the difference in mine is that it assumes  specific paths, which you would have to change or paramiterize (sp?);

    it is adapted from a backup...

  • RE: SQL Server /ISS Server

    I think i see where the question resides.

    the interface for RS IS web pages....there is no .exe program like sqlserver.exe to call. There is no client side application to install.

    i...

  • RE: Parsing Data By "\" and "/" Characters

    you could also use the SPLIT function off of this web site; it returns a @table of data,; for example

    select * from dbo.split('x10\210\63\1\10\J-type\4/...','\')

    returns:

    strval                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ------

    x10

    210

    63

    1

    10

    J-type

    4/...

     

    i would imagine from there you...

  • RE: SQL Server /ISS Server

    Reporting Services requires IIS, because all access to the reports are web based;  any of the drill down reports are web pages that link to the detail views, so with...

  • RE: Better way to do this?

    Can i ask what was your source for the ZIP+4 database? I've only found ZIP databases, or items like the PLACENAME database with zipcodes from the census, but cannot seem...

  • RE: Returning Error Message with Error Number

    all error messages are in master.dbo.sysmessages i believe;

    so you'd select @err=@@error in your proc, then

    select description from master.dbo.sysmessages where error=@err

     

    if the severity was such that a run time...

  • RE: Looking for single system query to return the rowcount of all tables in a DB

    Sara thanks for the input;

    your suggestions showed me that in my real world sample database, your script found ten more tables, and their table counts, than mine did;

    i just...

  • RE: Retrieving default column value from Sysobject, syscolumns

    this is from the middle of a loop which joined sysobjects and syscolumns....

    i've basically done what you are doing now...scripting out the table definition, complete with defaults, contraints etc.

     

    I stick...

  • RE: How to protect value of password written in tables

    For a .NET application, you can start with some of the built in encryption methods from the framework;

    http://www.codeproject.com/dotnet/SimpleEncryption.asp

    has a handful of examples using it, as well as comments as...

  • RE: Randomise sensitive data when copying database prod-dev or prod - QA

    I've done this for several different reasons... but it is basically the same...munge existing data to be unreleated to real client data.

    i've got a database of animal names, colors, and...

  • RE: CHECK Constraint for date format required

    for reference, I like to put a check constraint for a datetime which sets a minimum value...the reason is a date of zero is a valid date (01/01/1900 00:00:00)

     

    for example...

  • RE: Looking for single system query to return the rowcount of all tables in a DB

    someone's contribution to the site, almost identical to Frnaks suggestion, but i probably renamed it to be convenient to my naming convention:

    create procedure sp__CountTableRows

    as

    begin

     SELECT sysobjects.name, sysindexes.[rows]

     FROM sysobjects 

      INNER JOIN

      sysindexes 

     ON  sysobjects.id =...

  • RE: How to protect value of password written in tables

    Our office does the same...we have a vb dll for older apps and a vb.net dll for the web and winforms to use, both of which have a variety of...

Viewing 15 posts - 13,351 through 13,365 (of 13,429 total)