Forum Replies Created

Viewing 15 posts - 1,096 through 1,110 (of 1,479 total)

  • RE: time difference computation

    The error message is very descriptive – you are trying to convert a string to date but the value in the string can not be converted to date. One...

  • RE: Formating number

    The best place to do formatting is the at the presentation layer. The fact that it can be done using SQL Server doesn’t mean that it should be...

  • RE: Triggers

    Sorry, I misunderstood the first message (although the message was very clear). You can’t do it with DML trigger, but you can create a DDL trigger and rollback the...

  • RE: Triggers

    Where did you get the idea that a table that has a trigger can not be dropped? Such table can be dropped with no problems. If you can’t...

  • RE: Issue with CTE

    Bob Hovious (3/11/2009)


    Please share with us what error you are getting, the table schema(s), and perhaps a sample of data.

    The function doesn’t work with table. It works only with the...

  • RE: Issue with CTE

    I have not explanation why the function causes the error message when creating this function. In my opinion it is some kind of bug. You can get around...

  • RE: Working with SQL Servers Default Trace with the Function fn_Trace_Gettable()

    If the files are called logXX.trc where XX is a number (doesn’t have to be 2 digits, but has to be an integer number), then yes. If the name...

  • RE: Working with SQL Servers Default Trace with the Function fn_Trace_Gettable()

    Do you mean how to get in one select statement the content of all the trace files? If this is what you mean then just use the default value...

  • RE: query times out using sql login, but is fine using Windows login??

    Are you using the exact same query at both times? Does the query’s result have any connection to the person that is running the query (for example - like...

  • RE: Scheduler in MS SQL Server

    Look in books on line for information about creating jobs. You can define a job and schedule it to run whenever you want.

    Adi

  • RE: SCOPE_IDENTITY

    That sounds strange. scope_identity function does exist in SQL Server 2000. Could it be that the database's compatibility level is set to an earlier version that didn't have...

  • RE: Bulk Inserting Data

    Actually that is what my other option is, loading the data into a staging table. But I just don't know how to do bulk load with different number of columns...

  • RE: How to insert arabic data into 2005 sql server

    sajilsidharth (3/4/2009)


    datatype of that field is nvarachar(2000).

    when I insert the arabic text it is coming like this ??????????

    can you help me

    How are you trying to insert it? Are you...

  • RE: How to insert arabic data into 2005 sql server

    Grant Fritchey (3/3/2009)


    You need to be sure that your string data is defined as unicode so that you can define the character set as well as the values. This means...

  • RE: Bulk Inserting Data

    No this is not what I’m saying. You need to write the logic that will know what to do with each line. You can use SSIS for that....

Viewing 15 posts - 1,096 through 1,110 (of 1,479 total)