Viewing 15 posts - 7,426 through 7,440 (of 15,381 total)
wolfkillj (7/23/2013)
Sean Lange (7/22/2013)
sqlfriends (7/22/2013)
When importing into the raw table, the studentID is set as varchar(9).
Then we select...
July 23, 2013 at 8:24 am
OK I like the idea of a temp to hole the order of the class names. I would instead create a table that contains a value to sort by and...
July 23, 2013 at 8:23 am
This looks an awful lot like homework. What have you tried so far?
July 23, 2013 at 7:56 am
You can easily use convert to force the formatting.
Declare @StartDate date = '2013-01-01'
select @StartDate, REPLACE(CONVERT(varchar, @StartDate, 110), '-', '') as IntVersion, CONVERT(varchar, @StartDate, 110) as DateVersion
The real concern is that...
July 23, 2013 at 7:40 am
There could several causes of this but the most likely is parameter sniffing. http://sqlinthewild.co.za/index.php/2007/11/27/parameter-sniffing/%5B/url%5D
Can you post the proc? We may want to see the tables and index schemes but let's...
July 23, 2013 at 7:30 am
omid.shokri (7/22/2013)
This is part of trigger and procedure and insert row by row. I don't insert batch of rows to the table. row
Careful now. Do not get stuck in the...
July 23, 2013 at 7:14 am
I realize that my example above is not really accurate because once a foreign key is established you can't change the datatype and the datatypes must match when creating the...
July 22, 2013 at 3:05 pm
chugghin (7/22/2013)
July 22, 2013 at 2:53 pm
Learner44 (7/22/2013)
Hi Sean this is WONDERFUL solution, i believe in my current situation.
Just wondering, once account number chages with update, it makes permantaly chages.
if admin want to refer back to...
July 22, 2013 at 2:39 pm
L' Eomot Inversé (7/22/2013)
dwain.c (7/17/2013)
Brandie Tarvin (7/17/2013)
Not only did I just teach myself how to use MERGE (never had time or reason), but I managed to use it correctly...
July 22, 2013 at 2:17 pm
TryingToLearn (7/22/2013)
July 22, 2013 at 2:09 pm
matt-996958 (7/22/2013)
July 22, 2013 at 2:08 pm
sqlfriends (7/22/2013)
Thanks, what is IMO
IMO = In my opinion
July 22, 2013 at 1:58 pm
TryingToLearn (7/22/2013)
Done and Done, and Thanks
Did you fix the loop or fix the code so it doesn't need a loop?
July 22, 2013 at 1:58 pm
Most likely whatever is in your .sql is missing a go somewhere.
July 22, 2013 at 1:56 pm
Viewing 15 posts - 7,426 through 7,440 (of 15,381 total)