Viewing 15 posts - 2,851 through 2,865 (of 6,036 total)
Ninja's_RGR'us (9/15/2008)
I'm not sure I'm following you here Sergiy, can you expand on your thoughts on this matter?
UPDATE AttributeTABLE
SET VAL = @PASSEDINVAL
WHERE PKEY = @PKEY
...
September 15, 2008 at 9:34 pm
Jeff Moden (9/15/2008)
Heh... understood... and I frequently do the same thing if the file is crap...... but that's not what you asked.
I asked about splitting of bunch of quoted delimited...
September 15, 2008 at 9:29 pm
Jeff Moden (9/15/2008)
Absolutely the easiest way to read a "properly formed" CSV file is using OpenRowSet. If the file is called "ImportTest.csv" and it's stored in...
September 15, 2008 at 9:10 pm
So, according to your request you need:
1) select all rows where CustomerID = 3
2) select all rows where CustomerID <> 3 and TestID does not exist in derived table returned...
September 15, 2008 at 5:53 pm
It's a size of 1 page (8k) minus size of row overheads.
Size of pages used by SQL Server cannot be changed.
September 15, 2008 at 2:55 pm
Normalizing of your attribute storage would be much more effective and much more simple in terms of coding.
Yes, it would be not so comfortable for editing from EM.
But you data...
September 15, 2008 at 2:51 pm
Single quotes are for test strings.
They are not from file, of course. 🙂
And, I believe, there are 7 columns in both strings.
1st one should be split into:
1Pick-up
2
3
41234
52008-08-24
6 "2008-08-24"
717", unknown brand
September 14, 2008 at 3:18 am
Only sysadmin users on Windows Server can access registry.
If you cannot change the account your SQL Server is started with you may login not as "sa" but as appropriate Windows...
September 13, 2008 at 9:06 pm
I guess it has nothing to do with SQL.
You need to find why your method CmdPlaceOrder_Click could call procedure without supplying that parameter.
September 13, 2008 at 8:23 pm
Jeff Moden (9/13/2008)
September 13, 2008 at 8:14 pm
Jeff, performance is good.
But did you see a solution for splitting string with quoted values?
Like in CSV files?
September 13, 2008 at 6:54 pm
Convert table split function to scalar one.
Add another parameter - @ElementNo and return only value from the table within function with correlated ID.
The you may use it like this:
SELECT dbo.SplitScalar(StringValue,...
September 12, 2008 at 11:18 pm
What continues to be a mystery is why a procedure that has been running since 2005 for 20 minutes would increase to 11+ hours. (It appears to me that...
September 12, 2008 at 5:24 pm
In some cases, we may read a lookup table (10 rows) to determine a value based on a code.
This is your problem.
Replace those functions with views and join your...
September 11, 2008 at 10:19 pm
Try different set of queries:
1 - select count(*) from import_cc_payments where reference IS NULL
2 - select count(*) from import_cc_requests R where EXISTS (select 1 from import_cc_payments P WHERE P.reference =...
September 11, 2008 at 4:57 pm
Viewing 15 posts - 2,851 through 2,865 (of 6,036 total)