Forum Replies Created

Viewing 15 posts - 31 through 45 (of 85 total)

  • RE: Refresh development databases

    This is what I do. I backup the prod dbase. Use a VB Script to move the backup. Then I restore on the Dev end. You can even zip up...

  • RE: permissions for a login

    Defintely Check the SCRIPTS page. There are a lot of good examples in there. -jG

    -JG

  • RE: Copy Tables with SQL Server

    Are you simply wanting to copy the table structure over, Then import data? If so,

    You can:

    Select * into <New table Name> From <Current Table> Where...
  • RE: Bytes per row

    You got it going on man! I was looking into the Views but it was not showing the int or smallmoney bytes the sys table had all that.

    Thanks - JG

    -JG

  • RE: Bytes per row

    I am looking for accros the column.

    -JG

  • RE: DMO; reporting service pack levels

    Column8, would you mind posting or sending me your DMO code used to scan for the differences of SQL2K and SQL7. I am new to DMO and I am trying...

  • RE: DTS package will not run as a job.

    Are you using ODBC to connect to the DBIII File? Make sure the ODBC connection resides on the SQL Server. When you execute DTS it runs off of your Client....

  • RE: DTS Status

    Is the log option only avaiable in SQL2K? I looked through the properties of the DTS on SQL7 and I can not find a Log option.

  • RE: Importing Text Files

    Yes, both pkg are on the same server. Here is the code:

    Main = DTSTaskExecResult_Success
    

    Dim oPkg, sServer, sPkgName
    Set oPkg = CreateObject("DTS.Package")

    sServer = "labsql1"
    sPkgName = "Step2"


    oPKG.LoadFromSQLServer sServer,...
  • RE: STandard Performance Reports

    Brian has a nice article on capacity planning

    http://www.sqlservercentral.com/columnists/bknight/sizingadatabase.asp

    A lot of DBA's created tables within each database that tracks specific info about the data and structure. You can then query on...

  • RE: First Day of Week

    Look in BOL under the DATEADD Function.

    Something like this

    select dateadd(wk, 20, getdate()) 
  • RE: Importing Text Files

    I can not get calling another package to work.

    When I call the name of the other pacakge to execute i get:

    The Specified DTS Package('NAME =...
  • RE: Importing Text Files

    What about the syntax for the Object BulkInsertTask?

    Could I do somthing similar to what you are performing with opening another package?

    Would it be something like?:

    Dim oTask

    Set oPKG = CreateObject("DTS.BulkInsert Task")

    oTask.Execute...

  • RE: Importing Text Files

    When I have the file collection.

    If colFiles.Count > 0 ThenFor Each objFile in colFilesIf UCase(Right(objFile,4)) ".TXT" Then

    What would be the proper SQL Syntax after my Then to: BCP/Insert the txt...

  • RE: Importing Text Files

    Steve,

    They are all *.txt, and they are named sequntialy after a date i.e 01012001 (being mmddyyyy)

    Through FSO I am able to place them all in a file collection. Then I...

Viewing 15 posts - 31 through 45 (of 85 total)