Forum Replies Created

Viewing 15 posts - 7,126 through 7,140 (of 7,164 total)

  • RE: Error Msg 207, Level 16, State 1, Server

    Please post the DDL describing the schema in place when you run your script. As I mentioned I am not receiving any errors running your code with a basic version...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Service Broker.

    I don't know if Service Broker would be of any help here without knowing more about your situation. If after performing a DML operation on Table A you need to...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Error Msg 207, Level 16, State 1, Server

    I created this test table so your script could run in my test DB:

    CREATE TABLE dbo.MYTABLE (id INT) ;

    After that your script executed without error in SSMS. I am using...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: TSQL Help

    Do you mind posting your code? I am very curious to see how you solved this. I suspect that Jeff may want to have a look as well.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: TSQL Help

    What kind of function? Table-valued (multi-statement or inline) or Scalar?

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Get Table by name

    barakos,

    I am guessing you have an Oracle background and are looking for something similar to the %ROW_TYPE functionality but it does not exist in SQL Server.

    There is an open...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: How to export data into .csv file thru query

    This is a common request. In my opinion "in-process EXPORT" functionality is a feature that would be very useful.

    See this similar post:

    http://www.sqlservercentral.com/Forums/Topic1061652-392-1.aspx

    Here are some workarounds in preference order:

    1. SSIS /...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Shift pattern

    Looks like homework...

    Have a look at the DATE/TIME functions in Books Online.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Link SQL SERVER 2008 and TFS

    Generically what you want to do is tie the check-in event in TFS Source Control to execute a build routine within Team Build. The build routine can do pretty much...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: BCPing out a Table without xp_cmdshell

    Vote for this connect item if you agree that we should have an in-process EXPORT command:

    https://connect.microsoft.com/SQLServer/feedback/details/224026

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: BCPing out a Table without xp_cmdshell

    I think Prasad might be looking for a different way to write a file to disk from a T-SQL programming context without using bcp via xp_cmdshell. This is a commonly...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: "Query Designer" JOIN Magic SSMS 2008

    I have heard of it but have not tried ApexSQL (and their website won't allow me to register for a trial period with my gmail account...lame). Do you know if...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: SQLCMD variable scripting - injecting a variable into another

    I spent a few minutes looking around and experimenting and I did not see a way to do it. I don't know everything you're trying to do, however while it...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: How do dowload file (saved as Image datatype) and save on disk?

    I would look into using the SQLCLR.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Increment a variable by another variable in a select statement

    Ninja's_RGR'us (1/21/2011)


    opc.three (1/21/2011)


    For that large of a dataset a loop structure will likely yield the best performance. If you have an application layer I would recommend doing this type of...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 15 posts - 7,126 through 7,140 (of 7,164 total)