Forum Replies Created

Viewing 15 posts - 2,281 through 2,295 (of 2,894 total)

  • RE: SQL Server 2008 Uniqueidentifier as Primary Key

    http://msdn.microsoft.com/en-us/library/ms190215.aspx

    You will find disadvantages at the bottom of article...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Data Extractor

    I have an advice:

    Could you please check out the link at the bottom of my signature. You will find the information about how to setup your question in the way...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: rename file

    What this one to do with T-SQL?

    Do you want to rename files?

    Jscript, VBScript, DOS Batch

    or best choice:

    PowerShell

    T-SQL is the language to manipulate with data in the relational...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Abort SQL-Script with raiseerror

    You have two ways to terminate the group of batches:

    1. Raise error with severity of 20:

    raiserror('Error Here!', 20, -1) with log

    But you will need to be logged in as...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Locking question

    Same effect, I prefer first one as it shows more clearly that you are locking table which you are inserting to.

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Remove decimal places and force leading zeros

    SELECT RIGHT('000'+CAST(CAST(MyField * 100.0 AS INT) AS VARCHAR(4)),4)

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Horrible Nested Queries

    It's very eay in sql2000 and I will be more than happy to help you write a query to do this if you will provide a ddl and sample data...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: T-SQL Unique index act as Fuzzy Lookup

    Gianluca Sartori (8/5/2011)


    ...

    I had to look at the name, address, city and many other things to detect duplicates and it was a lot of trial and error.

    Many algorithms had to...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: T-SQL Unique index act as Fuzzy Lookup

    If you are talking about table where you are going to store personal details, then you shouldn't even think creating and validation the person names due to the following possible...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: openrowset executing stored procedure with parameter that can be NULL

    Sorry, I should have advise you about this setting straight away...

    But, I'm happy that your problem is finally soved. Good Luck!

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: openrowset executing stored procedure with parameter that can be NULL

    Try to use

    SET ANSI_WARNINGS OFF

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: MERGE statement to include new column that is an identity column. Don't know how to populate.

    Good Luck!

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: MERGE statement to include new column that is an identity column. Don't know how to populate.

    Can you please provide the DDL for all tables involved and full code you have?

    It's hard to guess where it may fail. However the error is quite exact: somedata...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Convert rows to columns

    In your case it's very simple:

    SELECT 'aagarwa', 'i3.gt.qc', 'i3.India.Gurgaon', 'QTP_CSA Quest_i3_to_MS'

    If you need more relevant answer, please use the link in my signature. You will find some information there which...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: openquery worked in SQL 2005 but not in 2008

    You get an Oracle error, it is nothing to do with SQL Server.

    Can you execute this query successfully in Oracle itself?

    Do you have up-to-date OracleOledb driver?

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

Viewing 15 posts - 2,281 through 2,295 (of 2,894 total)