Viewing 15 posts - 7,276 through 7,290 (of 26,490 total)
Actually, the OPs query is not a CROSS JOIN. It is an ANSI-89 style inner join. Why it is returning too many rows may have more to do...
August 23, 2013 at 3:13 am
skpani (8/22/2013)
August 23, 2013 at 2:46 am
Here what I see that is wrong with your process.
1. Your function will return multiple rows with each invocation of the function
2. Your stored procedure is designed to enter a...
August 20, 2013 at 6:23 am
I see where you start an explicit transaction (BEGIN TRANSACTION), but I don't see where you commit or rollback the transaction(s) (COMMIT or ROLLBACK).
If you start an explicit transaction you...
August 19, 2013 at 11:18 am
Mike Hays (8/14/2013)
Thanks to everyone who responded. I believe that Mike Hillwig has answered my question in his blog post here:http://mikehillwig.com/2013/03/12/knowing-when-a-vm-moved-between-hosts/
Making it easier for others to check out the...
August 14, 2013 at 11:16 am
LinksUp (8/13/2013)
Lynn Pettis (8/13/2013)I want records for datetimes between 01/01/2000 (after midnight) through 01/03/2000 (through midnight).
WHERE orderdate BETWEEN '01/01/2000 00:00:00:000 AND '01/03/2000 00:00:00.000'
After re-reading the requirements, I can...
August 14, 2013 at 3:48 am
kgeeel240 (8/14/2013)
for example if i say skDte >= Getdate() i don't have to go back to my code and change it...
August 14, 2013 at 1:36 am
LinksUp (8/12/2013)
polkadot (8/12/2013)
WHERE orderdate BETWEEN '01/01/2000 00:00:00:000 AND...
August 13, 2013 at 10:54 am
Based on the very vague details provided this is the in-line table valued function I would use:
CREATE FUNCTION dbo.ClientProductPrice (
@ClientNo INT,
@ItemCode INT,
...
August 13, 2013 at 12:57 am
If you read the BooksOnline entry for sp_executesql, you will notice that it can take an nvarchar(max) variable for both the dynamic sql query and for the definition of variables.
http://msdn.microsoft.com/en-US/library/ms188001(v=sql.100).aspx
August 13, 2013 at 12:37 am
I have been around, just not as much. Not a lot time when you spend most of your time working or sleeping, every day.
Things out here in Afghanistan are...
August 7, 2013 at 3:06 am
SQLDCH (8/6/2013)
I'll check the no-shows today at lunch and send emails accordingly.
Draft day will be on Monday, September 2 at...
August 6, 2013 at 11:11 am
roryp 96873 (8/5/2013)
Lynn Pettis (8/5/2013)
Okay, I made sure to sign up just now. Been a bit busy with coming to Afghanistan and all.
I think you get a pass for...
August 5, 2013 at 11:56 pm
Okay, I made sure to sign up just now. Been a bit busy with coming to Afghanistan and all.
August 5, 2013 at 11:01 am
tim_harkin (7/31/2013)
Gerard Silveira (7/31/2013)
My question here would be , what about the fragmentation in the datafiles that was caused by the autoshrink ON.Could this be removed somehow ??
Yes, but with...
July 31, 2013 at 3:42 pm
Viewing 15 posts - 7,276 through 7,290 (of 26,490 total)