Viewing 15 posts - 451 through 465 (of 583 total)
You had stated
Actually Each Accounts_ID will be associated with value from different tables.
which , by inserting those extra rows, would make that statement incorrect. so one accounts_ID can have...
July 15, 2009 at 2:59 pm
Actually Each Accounts_ID will be associated with value from different tables.
if this is the case then your sample data is incorrect. it should be something like this.
INSERT INTO A
SELECT 1,1,'TABLE_1','COLUMN_1',123
INSERT...
July 15, 2009 at 10:48 am
I have to ask is the sample data you provided an accurate reflection of your actual data. Because if you are using the values:
1,'TABLE_1','COLUMN_1',123
then there are four rows that would...
July 15, 2009 at 10:20 am
can you post what you would like the output to look like because from your description it just sound like you would like the two rows that have an accounts_id...
July 15, 2009 at 9:59 am
This should work for you.
DROP TABLE MYEXAMPLE
CREATE TABLE [dbo].[MYEXAMPLE] (
[EXAMPLEID] INT IDENTITY(1,1) ...
July 15, 2009 at 9:45 am
I believe that the default constraint will only work for newly inserted row not existing ones.
July 14, 2009 at 3:28 pm
Do you have triggers on this table?
I have to admit I've never seem it blocking itself without triggers.
That is a very good question. I have seen this type of behavior...
July 14, 2009 at 8:59 am
First off, what is the problem? Is the trigger not working correctly or not working at all? Second, some sample data would help in solving the problem. Please read the...
July 9, 2009 at 12:08 pm
the pipe character is usually the alternate character of the backslash. "Shift" + "\" will result in "|"
July 9, 2009 at 8:33 am
I dont know how you can migrate just the password but the stored proc in this kb article will generate create scripts for all logins with passwords.
July 2, 2009 at 9:57 am
I have something that I use that may be a little more encompassing then what you are asking for but it does include login role membership and object permissions. ...
July 2, 2009 at 9:52 am
if the start date is in the past then your schedule will pick up the first day of the next month because the first day of current month has past....
July 2, 2009 at 9:34 am
rajganesh.dba asked if both servers were 2008 or if one was a earlier version. What is the answer to that?
Also would you be able to post a script of you...
June 23, 2009 at 7:31 am
You can pull the file out of the database and onto the file system in a similar fashion that I did with the powershell script because they use the same...
June 22, 2009 at 2:09 pm
glad I could help. As for where to learn tsql just doing it seems to be the best for me. Books online is a great resource. I also used w3schools...
June 22, 2009 at 12:42 pm
Viewing 15 posts - 451 through 465 (of 583 total)