Forum Replies Created

Viewing 15 posts - 856 through 870 (of 3,221 total)

  • RE: Error converting data type varchar to bigint.

    To be honest with you and to check my thoughts I performed the following:

    CREATE TABLE #desigations(

    designationname varchar(150),

    accountcode bigint)

    INSERT INTO #desigations(designationname,accountcode)

    SELECT NULL,77 UNION ALL

    SELECT 'Less',8 UNION ALL

    SELECT 'Something',9999 UNION ALL

    SELECT...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Output Parameter

    Nice question - a good way to start my week

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: SQL Server Not Returning Results With Specific Words in Parameterised Query

    I do not think it is the word "pad" that is the problem, using SQL 2008 R2

    CREATE TABLE #T(Id INT IDENTITY(1,1),Title VARCHAR(30))

    INSERT INTO #T(Title)

    SELECT 'pad Thai' UNION ALL

    SELECT 'Thai pad'...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Data Change Tracing

    If you have access to BOL (Books On Line - the SQL server help file) you may want to investigate the subject "SQL Server Audit Action Groups and Actions...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Use of DATETIME and BETWEEN - Part 2

    Thanks for a good question on fundamentals of the DATETIME data type.

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: More SQL Injection

    As long as a company has not been "burnt" , that is has not lost a significant number of $$ by an injection attack, then the cost savings of not...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Are the posted questions getting worse?

    Chad Crawford (11/17/2011)


    Wahoo! Just passed the MS 70-453 test, making me a MCITP for SQL 2008 just in time for 2012 to come out. 😀

    Very happy - Passing...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Delete "near" duplicate records

    adrian.walsh 56299 (11/17/2011)


    Oooh Powerful!

    I need to test more, but I think I like this CTE.

    😀

    Definitely test, and test again, and when you believe the results are correct - test again...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Delete "near" duplicate records

    Use a CTE, for example:

    CREATE TABLE #T(Date_Stamp DATETIME,KW1 DECIMAL(5,1), KW2 DECIMAL(5,1))

    INSERT INTO #T

    SELECT '12/10/2010', 5.3, 3.1 UNION ALL

    SELECT '12/10/2010', 5.3, 3.1 UNION ALL

    SELECT '12/9/2010', 4, 2 UNION ALL

    SELECT '12/8/2010', 3,...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Table variable - 2

    Ninja's_RGR'us (11/15/2011)


    I love the new question style Ron! Nice way to do this :cool:.

    Why thank you for the compliment, it made my morning joyous.

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Table variable - 2

    Hugo Kornelis (11/15/2011)


    Good questione, but the explanation is a bit too short. I assume Ron intended to write "You cannot create a named constraint on a table variable". On temporary...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: how data will be feched from data pages using index ?

    Here is a good place to start:

    http://www.simple-talk.com/sql/learn-sql-server/sql-server-index-basics/

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Appending 00 for column values

    Phil Parkin (11/14/2011)


    Hehe.

    Here's how it's done in SSIS.

    1) Add a data flow task.

    2) Add an OLEDB source connection to the DF.

    3) In the connection manager settings for the OLEDB source,...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Appending 00 for column values

    quillis131 (11/11/2011)


    I tried out some Tsql Format for the query ... Its was just getting what i need ... but It doesn't sound good for SSIS ... I guess...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Is this possible? Two questions by a newbie.

    First of all realize that there is not a "next row", in a SQL table, rows are not guaranteed to be returned in the order in which they were added...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

Viewing 15 posts - 856 through 870 (of 3,221 total)