Forum Replies Created

Viewing 15 posts - 12,451 through 12,465 (of 13,465 total)

  • RE: identifying instance/installation

    As i understand it, the database is it's own self contained unit, and doesn't have info about other instances that exist;

    There's a few metadata functions, like  SELECT @@SERVERNAME,@@SERVICENAME,@@VERSION ,...

  • RE: Update System tables

    I'm curious as to why you think you need to update the system tables directly anyway. What are you trying to accomplish? there might be a better way to do...

  • RE: identifying instance/installation

    because there is no central source which captures which servers exist, you can't really query it.

    you can ask the operating system to poll all the servers that are advertising...

  • RE: Query Tuning - Approaches

    OK, if you look at the procedure, it's pretty much getting two values for each companyId: the sum(moneyamount) and the sum(number of shares)

    you can get the same information from a...

  • RE: Extended ascii to HTML when using select ... for XML

    the original function did not encode <> symbols as well as quotes and ampersands;

    this is a little better; someone critque this function please:

    ALTER FUNCTION HTMLEncode(@OriginalText VARCHAR(8000))

    RETURNS VARCHAR(8000) 

    BEGIN

    DECLARE...

  • RE: Extended ascii to HTML when using select ... for XML

    ha!

    once again, stealing/borrowing Jeff Modens example and running with it, here's a TSQL function:

    --===== Create and populate a 100,000 row test table.    

    -- Column RowNum has a range of 1...

  • RE: Extended ascii to HTML when using select ... for XML

    obviously you can do this on the application side, but not natively in TSQL...looks like you'd need a function.

    I bet the .NET  HTMLEncode and HTMLDecode functions would be perfect for...

  • RE: How to prevent copying?

    As you suspect, no there's no surefire way to prevent anyone from connecting to a database and copying the schema, nor the data.  I know you probably spent a lot...

  • RE: BULK INSERT unix file

    I'm pretty sure \r is the row terminator for unix, and \n is the terminator for pc based text files. I've never used \n and \r together, that would be...

  • RE: Filling in numbers

    here's an example that i based off of one of Jeff Modens examples...hey I'm learning:

    there'sa huge advantage performance wise to use a tally or numbers table.

    --Your Sample Table :

    CREATE...

  • RE: Give datareader role create priveleges?

    you are thinking about it wrong...you should create a new role that has db_datareader writes, and then any additional rights you want toa dd. don't try to change the existing...

  • RE: licensing mode and dual core

    oops sorry i skimmed over that part.

    SQL server will automatically use all availalble processors. if you had a 4 proc, but licensing for only two, you'd be out of compliance...

  • RE: licensing mode and dual core

    there's lots of links on microsoft on this;

    licensing is per physical processor, not per virtual processor/core .

    If the motherboard has a single socket in it, (if you could afford it)...

  • RE: HT Import About 8000+ Text Files from 4 Hard Drive Folders Into SQL Table?

    Assuming you have SQL server installed on your laptop, you should be able to open Query Analyzer, Press F8, which will open the object browser...find the database>> open the treeview...

  • RE: What''''s the difference between SQL 2005 and SQL 2005 Extended?

    won't make any difference as far as databases go.... they are backed up to a specific format for SQL 2005,a dn in a manner backwards compatible with non-service pack-ed 2005...

Viewing 15 posts - 12,451 through 12,465 (of 13,465 total)