Viewing 15 posts - 1,051 through 1,065 (of 2,007 total)
mario.balatellii (1/16/2012)
i can't do it like that..
This gets posted at least once a week. . .
BEGIN TRANSACTION
CREATE TABLE mytable (id INT identity(1, 1),PersonID INT,Unit VARCHAR(10))
INSERT INTO mytable VALUES (1,'Che')
INSERT INTO...
January 16, 2012 at 4:42 am
You might find this a little better (only hits the table once, instead of twice as your code does)
DECLARE @exist TINYINT, @exist2 TINYINT
SELECT
@exist = CASE WHEN fid = @fid...
January 16, 2012 at 2:50 am
Revenant (1/15/2012)
Jeff Moden (1/15/2012)
GilaMonster (1/14/2012)
I've seen Transcender sample tests before, they're miles from the real exams.
Then, totally switching gears, are such sample tests actually helping to learn those things necessary...
January 16, 2012 at 2:10 am
jshahan (1/12/2012)
Thunderous silence... 🙂This forum clearly wasn't the place to attempt to initiate this kind of philosophical discussion. My bad.
Sorry, I looked in on your post a couple...
January 13, 2012 at 9:54 am
Don't know if you'll still be checking the notifications for posts on this thread, but I was thinking about ways to make it more efficient and came up with this...
January 13, 2012 at 2:52 am
Here's the standard test environment I use, normally customised slightly to fit the issue at hand.
--Standard TestEnvironment of 1,000,000 rows of random-ish data
IF object_id('tempdb..#testEnvironment') IS NOT NULL
BEGIN
DROP TABLE #testEnvironment
END
--1,000,000 Random...
January 12, 2012 at 10:00 am
GSquared (1/12/2012)
Bex (1/12/2012)
Cadavre (1/12/2012)
January 12, 2012 at 9:51 am
ramadesai108 (1/12/2012)
I have a view where I get the result from a decimal as 8.55, 90.07, etc. I want the result as 08.55 and 90.07....
January 12, 2012 at 9:38 am
I'm going to continue posting, reading and answering questions on this site for one simple reason: I learn as much if not more than those that I've helped. Either from...
January 12, 2012 at 9:24 am
mtillman-921105 (1/12/2012)
If you have one temp table named #Summary in the "parent" or calling procedure, then...
January 12, 2012 at 9:18 am
SQL Kiwi (1/12/2012)
Grant Fritchey (1/12/2012)
Ouch. I didn't catch the date types. Good one Paul.
It's not at all evident from the plan - I only came across it after running the...
January 12, 2012 at 8:42 am
First things first, we could do with some information from you 🙂
Read through this link[/url] to find out how best to post your performance related question.
Also, DDL may be useful.
Below...
January 12, 2012 at 5:00 am
Cadavre (1/11/2012)
January 12, 2012 at 3:03 am
BEGIN TRAN
CREATE TABLE test (indkey NVARCHAR(2), datakey NVARCHAR(4), landline NVARCHAR(11), mobile NVARCHAR(11), email NVARCHAR(20))
INSERT INTO test
VALUES ('1', '0001', '01234567890', '0712345679', '1@test.co.uk')
INSERT INTO test
VALUES ('2', '0001', '01234567890', '', ...
January 12, 2012 at 2:31 am
I can't quite match your requested results, can you double check them?
I make it: -
Total ...
January 11, 2012 at 9:32 am
Viewing 15 posts - 1,051 through 1,065 (of 2,007 total)