Viewing 15 posts - 5,131 through 5,145 (of 10,144 total)
What version of SQL Server are you connecting to?
March 4, 2013 at 8:49 am
geert.de.vylder (3/4/2013)
Thank you for your reply. In attachment you will find the executionplan. The Tussen_Tickets table has at this moment 31779 records.
The query is almost correct. I only had...
March 4, 2013 at 8:44 am
prakashr.r7 (3/4/2013)
ChrisM@Work (3/4/2013)
prakashr.r7 (3/4/2013)
Yes...i am restricted, Chris 🙁 . This is how my functionality works. So i have to stick with it. no other option. Have to generate unique random...
March 4, 2013 at 8:29 am
prakashr.r7 (3/4/2013)
...Yes...i am restricted, Chris 🙁 . This is how my functionality works. So i have to stick with it. no other option. Have to generate unique random values.
Checking...
March 4, 2013 at 8:02 am
prakashr.r7 (3/4/2013)
What ever the process, you can't generate unique random values more than allocated right, Chris ? I am just curious...
They're not guaranteed to be unique! Run this
declare @result...
March 4, 2013 at 7:35 am
Have you looked at alternative means of populating @result and @VendorCode in the following,
with a view to making the entire process set-based?
INSERT INTO SrcCodeMap (JurisID, CodeID, SrcCodeValueRef, SrcCodeValue, SrcCodeDescr,
PnxCodeValue,...
March 4, 2013 at 7:06 am
No, but you can cheat:
DECLARE @X TINYINT = 0
;WITH SampleTable AS (
SELECT SOMECOLUMNS = 'SOMECOLUMNS', COLUMN1 = 'COLUMN1', COLUMN2 = 'COLUMN2', COLUMN3 = 'COLUMN3',
COLUMN4 = 'COLUMN4', COLUMN5 = 'COLUMN5', COLUMN6...
March 4, 2013 at 6:04 am
SQL Mad Rafi (3/4/2013)
I made some changes (included few CASEs in SELECT list for a business requirement)
i did a relative cost check between these old and...
March 4, 2013 at 5:35 am
winmansoft (3/4/2013)
If i have table with 1000 rows and say 10th row date is '03-01-12' and all other 100 dates are above '03-01-12' and 101th row date is...
March 4, 2013 at 4:57 am
ManiDBLover (3/3/2013)
...Requirement:
1. Both tables are having duplicate values.
...
Right now by accident or in the future by design?
...
2. One Software will be used in multiple computers and one computer...
March 4, 2013 at 3:39 am
wafw1971 (3/1/2013)
Declare @From Datetime
Declare @To Datetime
Set @From = '07 Jan 2013'
Set @To = '18 Mar 2013'
SELECT Datediff(Week, dateadd(dd, CASE WHEN...
March 1, 2013 at 8:34 am
geert.de.vylder (3/1/2013)
Hi ChrisM@Work,Thank you for your query and help. But this query needed 13 minutes to run. That's quiet long. How can the performance be improved?
Greetz,
Geert
Post the actual execution plan...
March 1, 2013 at 6:42 am
What happens if your initial FROMdate or TOdate happen to be a sunday? This batch shows solutions either way:
-- Recalculating startdate
;WITH SampleData AS (
SELECT TheDate = CAST('06 Jan 2013' AS...
March 1, 2013 at 6:34 am
BSavoie (2/28/2013)
March 1, 2013 at 4:22 am
Viewing 15 posts - 5,131 through 5,145 (of 10,144 total)