Forum Replies Created

Viewing 15 posts - 7,966 through 7,980 (of 9,643 total)

  • RE: Create Procedure Help Needed

    The error occurs because the table DOES exist and SQL Server is checking dependencies. If you were to create the procedure before the table you would be fine, until...

  • RE: Column Default Value

    Sorry the real term is computed column. Here is a link about them: http://www.sqlservercentral.com/articles/T-SQL/61764/

    Here is some code that demonstrates how they work:

    [font="Courier New"]CREATE TABLE #temp

       (

       first_name VARCHAR(10),

      ...

  • RE: Column Default Value

    Will you be updating or directly inserting into c? If not use a calculated column.

  • RE: failed logins ...

    I don't know how to get IP addresses from SQL Server, but the AUDIT LOGIN, AUDIT LOGOUT, and AUDIT LOGIN FAILED events in SQL Trace all include the HostName column...

  • RE: The multi-part identifier "stgCustPmt.TranCmnt" could not be bound

    You can't reference a column in a table without a select, update, or delete FROM table. You are saying:

    IF table.column then

    And SQL Server has no idea what table.column...

  • RE: EXCEPTION_ACCESS_VIOLATION

    I'd try using openquery instead of querying the linked server directly from the SQL Server. OpenQuery makes it more of a pass-through type query.

  • RE: null control in right function

    Add "WHERE EMAIL IS NOT NULL or Charindex('@', Email) > 0"

  • RE: small function issue

    I would have the UDF return a table with a list of the string values and then join on the UDF. Check out this article for splitting a delimited...

  • RE: EXCEPTION_ACCESS_VIOLATION

    What is the data type of the column causing the problem? Could be a mapping issue so you may need to CAST it. Also have you tried using...

  • RE: Import text file on local machine

    But what the boss doesn't understand and you need to get him or her to understand is that pure T-SQL does not actually run on the client, but on the...

  • RE: Create Procedure Help Needed

    If you are running this as a query in SSMS it is trying to create an execution plan and THAT is when it is failing in the database where the...

  • RE: SQL Query

    Your set statement just to to reference the column you are updating so in your example you would need:

    set prokw1= prokw1 + 'oneworld'

    You may want a space or comma...

  • RE: Import text file on local machine

    I'd do a quick and dirty .NET app. Let them select the file and click an import button.

  • RE: One Hour Query that used to take 13 minutes

    If your collation is CI_AS then there is no reason for the UPPER conversion in the joins, so I'd remove those.

    The only other comments I have, that I have not...

  • RE: Need help with XML

    Wouldn't it be easier to return the data to VB in a dataset and then do the XML manipulation there? Once in VB you can use xsl style sheets...

Viewing 15 posts - 7,966 through 7,980 (of 9,643 total)