Viewing 15 posts - 1 through 15 (of 16 total)
Had similar issues with reseeding "virgin tables". Key is that last_value in Sys.Idnetity_Columns is "null" for a virgin table, and not zero as one would have thought. The script below...
April 8, 2010 at 6:00 am
Sorry, some of the details got lost in translation or in my attempt to simplify the problem for this post (The original Query's size is about 25k).
Thanks for your help.
May 23, 2007 at 2:20 am
Ok, I found the problem.
This is problably the reason why one should rather provide the complete query and not extracts.
There is floor function being used on...
May 22, 2007 at 9:14 am
Hi, Thanks for the post. The tables already have composite indexes on the fields which is used in the where/join clause of the query.
I've found something that might be causing...
May 22, 2007 at 8:45 am
Ok, I posted a reply, but it failed for some reason, so lets try again.
Basically, tableB is Sales, and TableA is a Punctuation Table. The idea is when a cashier/waiter...
May 22, 2007 at 5:35 am
Hi,
I had the same problem when I switched from SQL2K to SQL2K5. I replaced the IN/Subquery part with an EXISTS statement, and it worked perfectly.
select * from TableA
where NOT EXISTS
(...
May 22, 2007 at 3:11 am
Ok, that is probably the better way of doing it.
Probelm solved.
Thanks for your help.
March 8, 2007 at 7:14 am
Hi,
The query is takes payments and invoices, and then check what allocations has been done against them. The allocations is [transaction type] 35, and exists in the same table ([Debtors...
April 30, 2004 at 5:51 am
Hi,
I am currently using attaching the database with the single file method ('sp_attach_single_file_db'). Does the "WITH MOVE" work with this stored proc? I can't get the syntax right
Thanks for your reply.
April 29, 2004 at 11:09 am
Hi Jay,
Are you using SQL or Windows authentication and named pipes or TCP/IP?
Robert
April 29, 2004 at 4:53 am
Please post that script, I'll give it a try.
Thanks
April 9, 2004 at 4:40 am
I am using T-SQL, but this sounds interresting. If I understand correctly, you'll use a ado recordset and using the addnew/update functions, the autonumber value will be returned?
I'll give it a...
February 18, 2004 at 1:38 am
Thanks,
Thats a good idea, but i have multiple workstations posting entries at undetermined times. I guess adding a workstation ID to my table will be a solution. Then I could...
February 17, 2004 at 12:27 am
Viewing 15 posts - 1 through 15 (of 16 total)