Viewing 15 posts - 3,376 through 3,390 (of 7,185 total)
CELKO (9/3/2014)
Putting each element of Rents into its own table is a design flaw called “attribute splitting” and laugh at it.
Well, if that had been what he actually did,...
September 4, 2014 at 2:39 am
What I don't understand is why you'd want to insert the same company into your table more than once - unless this is a child table with a foreign key...
September 3, 2014 at 9:57 am
Yes! That certainly looks right. Obviously you'll want to test it and make sure it gives correct results in all circumstances, including multiple inserts.
Well done - you've listened...
September 3, 2014 at 7:05 am
That's good, but it's still going to fail if you insert more than one row at a time. Better to join PAT_ACCOUNT_MANAGER to the Inserted table to do the...
September 3, 2014 at 4:47 am
Gail, this isn't a catch-all query. According your article, a catch-all query is one "where the user may enter any one (or more) of a number of optional parameters"....
September 2, 2014 at 9:04 am
That could well be it. Here are two things you can try:
(1) Use this site[/url] to check that the syntax of your connection string is correct
(2) Create another variable,...
September 2, 2014 at 8:33 am
It'll still work. You can join the Inserted table to the other tables to get that data.
John
September 2, 2014 at 8:21 am
Two things with that. You're setting the value of @PAMID, but not using it downstream. That means you're doing unnecessary reads against PAT_ACCOUNT_MANAGER. Second, your trigger will...
September 2, 2014 at 5:01 am
Don't use a T-SQL cursor to do this. Use a ForEach loop container in SSIS. You can use the results from your table to set the value of...
September 2, 2014 at 3:55 am
I think the large table will be locked while the new column is added. Try it for yourself on a test server, and see what locks are acquired. ...
September 2, 2014 at 3:52 am
Happy to help. You can make it a bit neater by putting the CASE logic near the top:
...
SET @carage =CASE
-- don't need to cast as int because that's the...
September 2, 2014 at 3:35 am
Kalpana
If you specify your service account in SQL Server Configuration Manager (instead of in the Services applet), the correct permissions will be assigned. I don't know how they suddenly...
September 2, 2014 at 3:11 am
Comparing any value to NULL will return False. Please will you show us your query?
John
Edit - I think I see what you're trying to do. Will this work?
WHERE...
September 2, 2014 at 2:57 am
Yes, your code appears to assume that the row that was inserted is the one with the maximum PAT_ACCOUNT_MANAGER_ID. Even if that column had an identity property, that would...
September 1, 2014 at 7:57 am
I would guess that you're using different network libraries on the two OSes and that's responsible for the difference. Different settings will be used depending on your network library,...
September 1, 2014 at 5:59 am
Viewing 15 posts - 3,376 through 3,390 (of 7,185 total)