Forum Replies Created

Viewing 15 posts - 1,966 through 1,980 (of 2,037 total)

  • RE: Converting a varchar datatype to hex in a query

    Hi Al

    Sorry, my misstake! It seems that this function is new in SQL Server 2008.

    Greets

    Flo

  • RE: trigger not fire when import data from another table

    Hi

    Only a suggestion:

    Maybe you select only one value from INSERTED instead of working with the bulk set of data within?

    Greets

    Flo

  • RE: List all the tables from all the databases without cursor

    Hi

    Yet another way

    [font="Courier New"]

    DECLARE @sql NVARCHAR(MAX)

    SET @sql = ''

    SELECT @sql = @sql + CASE WHEN LEN(@sql) != 0 THEN 'UNION ALL ' ELSE '' END + 'SELECT * FROM '...

  • RE: Help creating a timeline

    Hi Justin

    What are the criteria to aggregate the time spans?

    Greets

    Flo

  • RE: A complicated query (for me)

    Thank you for translation! In my company the "OP" is the "operational process" but I've been quiet sure that you have been talking about something else ;).

    Greets

    Flo

  • RE: A complicated query (for me)

    Hi Jeff

    Sorry for the stupid question... What means "OP" ? Sometimes I hate all these acronyms :w00t: ...

    Thank you

    Flo

  • RE: BCP PROBLRM

    Hi Jeff

    Sure the xp_cmdshell is part of the master. First I saw the error messages of the BCP and I thought this is the only problem.

    Thanks for the correction!

    Greets

    Flo

  • RE: A complicated query (for me)

    Hi Jeff

    He said:

    The rest of devices and anchors associated to them, that do not match this condition should be deleted.

    I just did not read the part with the anchors 🙂

    Greets

    Flo

  • RE: BCP PROBLRM

    Hello

    Just read the error messages 😉

    Error = [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server [2].

    SQLState = HYT00, NativeError = 0

    Error = [Microsoft][SQL Native...

  • RE: Help required Urgent...!!!

    Mohit (3/7/2009)


    Compression would be an option for you.

    I am not sure how well backups compress with standard compression tools; but tools like RedGate Backup work nicely to compress it before...

  • RE: A complicated query (for me)

    Hi

    The (non-)uniqueness is a commo problem. Maybe after fixing the problem you should think about an unique index on device table identifier/user_id.

    Your current case:

    * First you have to identify the...

  • RE: Using Cursor to retrieve multiple table data to return as dataset

    Okay, my interpretation 🙂

    If you need the columns of a table:

    SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'yourTableName'

    BTW:

    You should avoid SQL keywords as table or column names (object, master).

    Greets

    Flo

  • RE: are these 2 the same?

    Hi % 🙂

    ab5sr (3/7/2009)


    The old style outer joins are not allowed, but equi-joins, which are equivalent to INNER JOINs, will probably never be removed; if you did, you'd have to...

  • RE: Handle Views

    Mike Levan (3/7/2009)


    As we know CONVERT and CAST has similar functionality but which one wud be best? and is there any diffrence between them.

    Basically they have the same job but...

  • RE: Handle Views

    Mike Levan (3/7/2009)


    As you said can the 'pseudo value' be null? hoes does it " NULL" effect in joins or unions.

    thanks

    Sure NULL values will not be included if you join...

Viewing 15 posts - 1,966 through 1,980 (of 2,037 total)