Viewing 15 posts - 211 through 225 (of 516 total)
palotaiarpad (12/19/2012)
I'm also wrong, but i learned something. Could someone please explain, why is the identity resetted after a truncate? For me is a possible source of inconsitency.
TRUNCATE command apart...
December 19, 2012 at 3:26 am
Very Good Question Ron!
Keep pouring more of those SS2012 stuff..
December 16, 2012 at 9:58 pm
If employeeID does not contain combination of both alphabets and numerals than you can use this also:
SELECT *
FROM employee
WHERE employeeId LIKE '%[A-Z]%'
In the earlier post, I assumed...
December 14, 2012 at 3:44 am
Like this:
SELECT *
FROM employee
WHERE employeeId LIKE '%[A-Z]%'
AND employeeId NOT LIKE '%[0-9]%'
December 14, 2012 at 3:42 am
Another Great question Ron!
I was not aware of this limitation and got the question wrong 🙂
December 13, 2012 at 9:21 pm
Hugo Kornelis (12/13/2012)
I am not sure why Lokesh chose to include a link to the SQL Server 2000 version of the documentation. Especially since the setup script uses SQL...
December 13, 2012 at 4:47 am
kapil_kk (12/13/2012)
good question Lokesh...It makes me remind of our last discussion for identity itself... 😛
+1 today also 🙂
rightly said. This also made demonfox for fantastically quote like this
when I saw...
December 13, 2012 at 12:12 am
when I saw identity question , I was sure it's cam out of Lokesh mind's bucket ...
Glad to know that! 🙂
December 12, 2012 at 9:50 pm
You can do it like this:
Creating temp table and inserting test values
create table #temp
(Receipt_key varchar(10),
Item_key varchar(10) ,
Position int);
insert #temp
values
('0001','02654',NULL),
('0001','35544',NULL),
('0002','02654',NULL),
('0002','85466',NULL),
('0002','84945',NULL)
Final update statement
WITH upd_recs
AS (SELECT Receipt_key,
...
December 12, 2012 at 3:51 am
sipas (12/12/2012)
Hugo Kornelis (12/12/2012)
If you exactly follow the instructions, executing the 'alter proc' script after making...
December 12, 2012 at 3:24 am
Explore Update() function to stop this behavior. Refer the link below:
December 11, 2012 at 11:17 pm
Fortunate enough to get this correct. But the question required lot of reading and thinking!
December 11, 2012 at 11:07 pm
sanket kokane (12/11/2012)
How to modify SP name in Alter Proc script ?
Good question 🙂
I was also thinking upon this. Instructions in the Question should have stated something like this:
Right-click on...
December 11, 2012 at 10:55 pm
Viewing 15 posts - 211 through 225 (of 516 total)