Forum Replies Created

Viewing 15 posts - 13,216 through 13,230 (of 13,463 total)

  • RE: Help with Bulk Insert Error

    am i wrong, or is this just a simple file does not exist error?

    i realize you probably changed some values for the example, but is there really a \\server1?

    in...

  • RE: Adding column with Identity

    i bet he wants the column in a specific location for this reason:

    in our shop, business rules state the PK columns are always the first columns of the table;

    if the...

  • RE: ReMapping Windows account Login SIDs on Standalone server

    this might help you out:

    replace NTDomain** with your real domain name, otherwise domain users will not be fixed, only SQL login users.

    the sid for sa /dbo on all machines everywhere...

  • RE: SQL Security on a non-domain network

     

    paste the exact error you are getting; there's way to many possibilities to diagnose it at this point;

    there's a huge difference between connecting directly from a laptop to your SQL...

  • RE: Sysobjects xtype vs. type

    i'd have to agree with you, with the exception of referencing PK's:

    select * from sysobjects where xtype <> type

    XTYPE of 'PK' <> TYPE of 'K' was the only difference i...

  • RE: SQL n00b trying to empty data from a database

    this will create the delete/truncate statements to be used  in Foreign key hierarchy order, so it never fails: note that it screws with every table, so any lookup tables or...

  • RE: Convert RTF data

    oops i hadn't thought of that aspect;

    i'll look at it again; in your case, is the RTF stored in a TEXT or an IMAGE field?

  • RE: Convert RTF data

    OK I've created a complete solution for this:

    I created a vb6 executable which takes command line paramters for RTF_File_In and TXT_File_Out.

    it takes the RTF file contents and sends the plain...

  • RE: PUBLIC access to MASTER DB

    The Public role that every login has read rights to all tables in master; you cannot remove the public role from master either,as i remember.

    brian kelly cited some specific resources...

  • RE: Order By using a Variable

    you'll either need to use dynamic SQL, which should generally be avoided, or use a if-then-else statement like so:

    dynamic SQL:

    @sql='SELECT * FROM TABLENAME ORDER BY ' + @sort

    EXECUTE(@SQL)

    Logical parameters.

    create procedure...

  • RE: Sql Server JOb Execution problem at the time of FTP

    my file format is as follows with the syntax i used previously; my username and password are on the same line. not much of a difference; googling for "ftp -n...

  • RE: Question on stored procedure

    i would use a different logic and return the userid regardless of whether it existed previously or not:

    --assuming proc has the @UserId parameter

    select @UserID=username from Employees where username = @username

    if...

  • RE: Sql Server JOb Execution problem at the time of FTP

    i don't know if this will help you, but this is how I scripted out the ftp object from vb6:  i notice i'm using two other parameters: "ftp -n -v...

  • RE: Identyfying which tables have gone into a view

    Remi,

    by object to object dependencies, do you mean  for example if i had a view or stored proc that was dependant on another view? I would think you would be right...you'd...

  • RE: Identyfying which tables have gone into a view

    if you alter a view to make it use it's same definition, wouldn't sysdepends get updated with the correcct dependancies?

    i would think that simply altering all views would 'refresh' the...

Viewing 15 posts - 13,216 through 13,230 (of 13,463 total)