Forum Replies Created

Viewing 15 posts - 46 through 60 (of 272 total)

  • RE: how can i insert in udf

    Rows are inserted into a table.

    If I substitute the word TABLE for the word FUNCTION, your questions begin to make some (not completely) sense.

  • RE: Query performance

    Please provide DDL and sample data.

    Also, it would be helpful to attach a query plan so we can see what's going on.

  • RE: select statement

    It's hard to say without a proper example with DDL and sample data. You've got item1 in both sides of your CASE .. ELSE expression.

    But perhaps a "SELECT TOP...

  • RE: SQL SERVER INDEXING

    Indexing good.

    Think of it like a book. If you know the term you are searching for, you turn to the index in the back of the book. The...

  • RE: Replication of the SQL-Server

    What is returned from the following query?

    select * from distribution.dbo.MSsubscriptions

    ... or if there is an error message, what is the message?

  • RE: Case Statements nesting more than 10 levels

    Jason is correct, there is no error when I run this code:

    CREATE TABLE #tablename (wo int, last_chg varchar(7),

    amt_0109 varchar(7),

    amt_0209 varchar(7),

    amt_0309 varchar(7),

    amt_0409 varchar(7),

    amt_0509 varchar(7),

    amt_0609 varchar(7),

    amt_0709 varchar(7),

    amt_0809...

  • RE: Try to enclose ' within SQL Output

    Try :

    + ' SET insert_date = ''' + @InsertDate + ''''

  • RE: Query for Dependencies

    I don't understand what you're trying to do. Your DDL is incorrect, but I assumed you are trying to create a table. I don't see a view except...

  • RE: Query for Dependencies

    SELECT * FROM TABLE1

    ORDER BY DEPENDENCY

    It appears from your sample data this would come out in the correct order, but if your sample data doesn't reflect your actual data, you...

  • RE: Query Tuning

    Love this question. I got A but missed B.

  • RE: shrinkfile online?

    Yes, you can shrink logfiles without the database going offline.

    I don't recommend shrinking database files if it can be avoided.

  • RE: peer to peer repllication

    Sapen (11/9/2011)


    Hi All,

    Can we replicate all the tables from one node to another in peer to peer transactional replication. Also at any given point of time can a end user...

  • RE: SMSS 2008

    The table designer does not work that way.

    The description field uses the extended property 'MS_Description'. You can edit and publish this in a bit more friendly fashion using the...

  • RE: Managment Studio. Different PC's give different result for same query.

    Can you please post the actual query, DDL and sample data?

  • RE: USE statement with TRY / CATCH

    hindle.steve (10/20/2011)


    I'm executing some TSQL code in a job step. I need to specify the master database in the Database drop-down than what needs to be referenced in the code.

    If...

Viewing 15 posts - 46 through 60 (of 272 total)