Viewing 15 posts - 9,286 through 9,300 (of 15,381 total)
Very nice. It really is easy to do and now your code is much more flexible. No worries about learning sql, it is a daily learning experience for me as...
February 14, 2013 at 9:22 am
learning_sql (2/14/2013)
The triggers I created update the tables perfectly considering they will only be executed by users selecting/deselecting...
February 14, 2013 at 8:43 am
anthony.green (2/14/2013)
Doh. not used cursors in a couple of years, so forgot the syntax.
I had to look it up myself. 😉
February 14, 2013 at 8:28 am
Your triggers assume there is ever only 1 row being updated. You need to change the logic here to be set based using the inserted and deleted tables.
Something like this:
CREATE...
February 14, 2013 at 8:27 am
I know I am missing something. Your cte is nothing more than a select from a table. Now you want to update the table to have the same value?
February 14, 2013 at 8:20 am
farooq.hbs (2/14/2013)
I used calendar month table, but it returning two or three rows for one name project because some 2 or 3 phase are present in the...
February 14, 2013 at 8:17 am
Minnu (2/14/2013)
Hi Thank u for your reply,but the query is not feching all the definitions which are having cursors, only few definication is getting.
how to get all objects / definition.
Change...
February 14, 2013 at 8:12 am
This is entirely too vague. Can you post ddl and sample data? I think you need to use a calendar table and then a cross tab but from what you...
February 14, 2013 at 8:03 am
The original thread is here. http://www.sqlservercentral.com/Forums/Topic1419969-392-1.aspx
February 14, 2013 at 7:58 am
Check out the links in my signature about cross tabs. It explores how to do this with a fixed number of columns and the second article explorers doing this with...
February 14, 2013 at 7:56 am
sqlbi.vvamsi (2/13/2013)
declare @tbl table (id int,string varchar(512))
Insert into @tbl
SELECT 123,
...
February 14, 2013 at 7:30 am
Tara D (2/13/2013)
ID Name
123 12345-abcd, 6789-efgh
456 R11223344-abc, 223366-rreett, A45566-ppooit
I...
February 13, 2013 at 3:36 pm
dcyoung (2/13/2013)
February 13, 2013 at 3:03 pm
Part of the issue may be using ISNUMERIC. This function is barely passable as a validation or filtering tool. Take the fine example that Steve posted and add 1 more...
February 13, 2013 at 12:45 pm
ahpitre (2/13/2013)
February 13, 2013 at 12:36 pm
Viewing 15 posts - 9,286 through 9,300 (of 15,381 total)