Forum Replies Created

Viewing 15 posts - 166 through 180 (of 1,186 total)

  • RE: what is DBMS

    (R)elational (D)atabase (M)anagement (S)ystem.  R = relational, without it = flat files.

    However, nowadays RDBMS is equal to DBMS to most non-techs....

  • RE: Indexing issue

    Brian,

    You are correct!  I forgot

  • RE: how do I set a UDfunction parameter as non-null

    You are correct you cannot use GETDATE() inside a UDF.  However, you CAN pass it as a parameter.  udf_GETDATE(@Today) where @Today was SET = to GETDATE()

  • RE: sp_addlinkedserver help

    Sounds like permissions alright.  Research sp_addlinkedsrvlogin to add credentials for who the linked server should connect as...

  • RE: Can I prevent some of users with sysadmin role to create table?

    I guess the real question is....

    WHY are you allowing DEVELOPMENT to run PROFILER (which if done incorrectly can bring your server to a halt) on PRODUCTION (Assumption)?????

    I would want to...

  • RE: Not in search in multiple tables?

    I would change to use NOT EXISTS (less expensive).

    To know which table this was not found in 1 way is to:

    Have a bit column per all of the misc tables...

  • RE: Connection string to SQL Server

    Sounds like a WINS\DNS problem.  Get with the engineers that rebuilt the servers to make sure that the names are properly configured in the PDCs and Active Directory, WINS server,...

  • RE: user defined functions - help

    These are created under "User Defined Functions".  They are used in conjunction with stored procedures/ad-hoc queries and are referenced by owner.UDFname.

    i.e SELECT dbo.udf_HelloWorld

    Look up UDF or user defined functions here...

  • RE: Indexing issue

    pretty much nothing.  A composite (or covered/covering) PRIMARY KEY IS a UNIQUE INDEX.  The key is the CLUSTER which will re-arrange your data physically.

    PLEASE NOTE:  Don't forget to include FILL...

  • RE: sorting a column

    Have you tried ORDER BY ColumnX?  If YES and that failed you may need to apply an ORDER BY type INTEGER column and then use that for ordering purposes only.....

  • RE: Need SQL to CAST column as INTEGER

    2 cents worth....  Don't order by ORDINAL position it may/may not come back and bite you.  Instead ORDER BY [ID], SQL will use the "derived" value for the ordering....

  • RE: What wrong with my query?

    Right before the semi-colon there is an extra parentheses.. ??

  • RE: Migrate column data w/ leading asterisks

    How 'bout something like UPDATE tableA SET ColB = REPLICATE('*', 12) + RIGHT(RTRIM(LTRIM(ColA)), 4)

  • RE: Indexing issue

    A.  no.  If there is no point to do it, don't

    B.  If creating a PK of 4 - 5 columns does that to you why not create a CLUSTERED UNIQUE...

  • RE: Trouble with datatypes and the CASE statement

    IF Deleted is a BIT field it can ONLY be 0 or 1 and NOT 0,1 ?

Viewing 15 posts - 166 through 180 (of 1,186 total)