Forum Replies Created

Viewing 15 posts - 1,606 through 1,620 (of 2,612 total)

  • RE: Putting all your data in one column of one table

    1 million entities with 40 columns - 6 of the columns are address information and half of the entities have two addresses - 1 column is a phone number and...

  • RE: Union or Triggers?

    Here are two options. The first is just using left joins and is relatively simple. Because your LIKE starts with a wildcard, you will end up with table...

  • RE: What is the best design for a shopping cart table?

    Making one table per session is probably going to cause more performance problems and other issues than it will solve.

    You should have no issues with a header / detail table...

  • RE: Error Rolling back inner transaction

    I think you want to use a transaction save point:

    [font="Courier New"]Create Table #BPTest(id int)

    begin try

    begin tran OuterTran

    Insert into #BPTest values (1)

    ...

  • RE: Looking for the best solutions

    I tend to use backup / restore rather than snapshot replication.

    Since the backups are already happening (assuming you are using SQL backups) there is little or no additional load on...

  • RE: Union or Triggers?

    Don't use a trigger for this.

    If you post the DDL or even some sample DDL, we can help you qith the query.

    I don't think you need a union, you probably...

  • RE: Find result containing foregin characters

    I meant you should actually change the collation setting for your column - if the sort and sensitivity change will not break anything else.

    If you do what you are suggesting,...

  • RE: Is this a mad idea?

    If you use views as suggested, you could give access only to the views. If you create a SQL login for just this process and give the login only...

  • RE: Find result containing foregin characters

    Specify an accent insensitive collation:

    [font="Courier New"]CREATE TABLE #tmp (c varchar(30) COLLATE SQL_Latin1_General_CP1_CI_AI NULL)

    INSERT #tmp VALUES ('The Coleg Sir Gâr')

    SELECT * FROM #tmp WHERE c like '%gar%'[/font]

  • RE: Securing access to tables via Active Directory Group Membership

    You can give permissions (add a login to your server) through SQL Logins, or through NT Authenticated logins. An NT Authenticated login can be a user or a group...

  • RE: database security across databases

    You will need to give the logins access to both databases.

  • RE: Multiple foreign key columns to same table

    It is still worth handling multiple rows. You have the necessary code. If you don't do it now, when you have a process that inserts multiple records you...

  • RE: SSIS - FTP TASK - DYNAMIC FILENAME

    I think the last post hit it. I think you used expressions on your container and set the variable name to be the file path. I would suggest...

  • RE: Writing

    I'm basically just lazy.

    I even have a good idea today - I wish I were a bit more motivated.

  • RE: SSIS Progress

    Don't underestimate the value of simple eye-candy.

    I once had a bunch of users complaining about the time it took an ETL process to run (it was about 3 minutes). ...

Viewing 15 posts - 1,606 through 1,620 (of 2,612 total)