Forum Replies Created

Viewing 15 posts - 181 through 195 (of 323 total)

  • RE: (De)fragmentation in case of a backup / restore

    There are two points for fragmentation of database files.

    First is FileSystem fragmentation, which occurs in the OS level, when data is added to the database, and it grows, but...

  • RE: I want to be a Certified DBA.

    Get some MCDBA books that are Microsoft certified material. They cost a bit, but should include practice questions.

    Second thing is to get yourself a kick ass PC and have a...

  • RE: Push replication, firewall, woe is me

    Read up on the protocols and ports that SQL Replication uses. By default SQL Replication uses UNC file sharing, but can be configured to use FTP. I'm guessing that if...

  • RE: Importing text files with a header row

    Checkout BCP Format files. I'm pretty sure that with the BCP command line command and a format file you can skip the first two rows and the some at the...

  • RE: Index View not working?

    Nuppers! It won't work in standard edition.

    Standard edition will allow you to create the index on the view, for compatibility reasons, but only Enterprise Edition will actually use it.

    As...

  • RE: Using Global Variables in DTS

    Just a thought, but is your file always bigger than 14? have you tried setting that number higher, or even reversing the test to

    if oFile.Size < -1 then

    to make...

  • RE: Multiple SPs versus SP with branches

    There is such a thing as over-normalisation. Use Separate SPROCS for each action, otherwise you won't be able to use sql security to enforce who can do what.

    Eg. You...

  • RE: Nested REPLACE functions - How to Maintain

    Go Up the Chain! Get the application layer to strip out the junk data from the inputs before saving it to your database.  Use a Regular Expression, or HTMLEncode functions...

  • RE: Windows Authentication Restriction

    Hmm. There has been some articles here about Application Roles. But basically it comes down to how you have secured your server.

    In good security practice, users should not have...

  • RE: Query from 2 different servers (SS 7.0 and SS 2k)

    On the SQL 2000 server (A), use the sp_addlinkedserver command to allow you to query the SQL 7.0 server (B).

    Then :

    Select  TableA.vendorid, TableB.vendname

    from A.HFCMaintenanceHD.Vendor_Store_Table AS TableA, B.HFC.PM00200 AS TableB

    where...

  • RE: How to find out a person is reached 21 years old?

    Bobs example has the correct test. Don't use DATEDIFF(yyyy to determine someones age! Add time difference you are testing for to the birthdate date, and compare if it is greater than...

  • RE: TEXT output parameter in SP

    ergh! Text! That aside I noticed in your example code that your output field is not correctly defined. It should be something like:

    CREATE PROCEDURE [dbo].[test]

       @var text OUTPUT

    AS

     -- Some SQL code

    GO...

  • RE: Which encryption method(s) have the best performance?

    Steve is probably right, bandwidth is usually the issue with VPN's or implementing the wrong sort of VPN (such as software VPN's instead of VPN's on a dedicated router).

    As far...

  • RE: Restore across versions

    You can restore a database from Enterprise to Standard version of SQL Server.

    Note however that Enterprise only features won't be enabled in the database when it is restored on the...

  • RE: DTS Permission Denied

    Are you using the Windows Scripting Host Scripting.FileSystemObject to achieve this?

    If so, make sure you specify the full path for the file destination, otherwise it won't what directory to put...

Viewing 15 posts - 181 through 195 (of 323 total)