Forum Replies Created

Viewing 15 posts - 4,801 through 4,815 (of 7,191 total)

  • RE: Foreign key on an IDENTITY column

    I'm stumped, then. The only thing I can think of for you to try is create the table without the foreign key, then use ALTER TABLE to add...

  • RE: Foreign key on an IDENTITY column

    Can't see anything wrong with that. Does the statementHistory table definitely exist when you are trying to create the categories table?

    John

  • RE: Union Issue

    As Paul and Cadavre have already asked, post your table DDL and some sample data and it'll be a lot easier for us to help you.

    John

  • RE: Union Issue

    Or maybe...

    WITH CTE AS (

    Select wrp_sys_User.IntUserId, wrp_sys_User.chrForename + ' ' + wrp_sys_User.chrSurname as chrFullName, U.intUserID, U.chrUnAllocatedUser

    from wrp_team inner join wrp_TeamUser on wrp_Team.intTeamID = wrp_teamUser.intTeamID

    inner join wrp_sys_User on wrp_teamUser.intUserID = wrp_sys_User.intUserID

    inner...

  • RE: Tempdb grow

    Set up a server-side trace to monitor tempdb data file growth events as well as general server activity and see whether there's anything obvious that's happening every time the file...

  • RE: SQL server file permissions on networks

    Use a UNC path to access files across the network. Make sure the account that runs SQL Server has permissions on the files.

    John

  • RE: SQL Instance

    I think it's best to play safe here. That way you don't have to worry about aliases, registry entries and other things not getting changed.

    Install a new SQL Server...

  • RE: create view using two different database

    Beware of issues with permissions caused by ownership chaining when writing cross-database views. This Microsoft article is worth reading.

    John

  • RE: Red data flow task but no error to be found ?

    Have you looked in the Progress tab and found no error messages? Another thing you can do is double-click on the data flow task (while still in debug mode)...

  • RE: Sorting issue when deployed

    I take it that means you have a Sort transformation in your data flow instead? What makes you think your data isn't being sorted properly?

    John

  • RE: Variables in SQL Command

    What is the value of @[User::JurisID] at runtime?

    John

  • RE: Import a text file into a column

    sunilreddyat (1/11/2012)


    try to change the datatype from varchar(max) to nvarchar(max) and change the source datatype to ntext

    Is there any particular reason why you think that'll work? I can't check...

  • RE: Fix orphan users in SQL Server 2005

    First, don't use sp_change_users_login. It's deprecated. And it doesn't support Windows Logins, or SQL Logins (one or the other, I can't remember which).

    Second, since all the users are...

  • RE: Fix orphan users in SQL Server 2005

    More information needed, please. Are all the users in the same database? Do all users have the same name as their respective logins?

    John

  • RE: Removing commas and quotes from numeric fields in csv file using SSIS

    khushboo.dudani (1/10/2012)


    But it is not working.

    How is it not working? Error message? What is the error message? Data not transformed as you expected? How is the...

Viewing 15 posts - 4,801 through 4,815 (of 7,191 total)