Viewing 15 posts - 1,771 through 1,785 (of 1,922 total)
Thanks Gianluca.. what if i dont have a order by clause? still the top operator is processed only after getting the result set?
Do u think SET ROWCOUNT will be...
April 16, 2010 at 5:10 am
Hey Delinda..
Here is the code for you.. this will update if an match is found and will insert if no match is found between the tables..
Tell us if this worked...
April 16, 2010 at 12:05 am
LOL 😀
Anyways, thanks and welcome mate 🙂
April 15, 2010 at 10:06 am
Oh yeah Paul, apologies..i did not look deeply into the variables assigning part.. u need not do that.. sorry mate 🙂
April 15, 2010 at 9:56 am
mike 97607 (4/15/2010)
Thanks greatly to COldCoffee's post, which was way over my head of course,
Please toss over all of the "thanks" to our comrade Paul White from NZ :cool:.....
April 15, 2010 at 9:44 am
Again, this is from Paul White's post..the NUmbers function which creates numbers from 1 to N fast, i mean, very fast!! 🙂
CREATE FUNCTION dbo.Numbers
...
April 15, 2010 at 9:40 am
hi buddy... i have created one code for you, test this if it works...
IMPORTANT:
I HAVE USED PAUL WHITE NZ'S N-WAY HANDSHAKING COMBINATIONS TO SCRIPT THIS. SO ALL CREDIT TO HIM...
April 15, 2010 at 7:13 am
Mate, provide us the create table script and sample rows to insert and check your code... and also i noticed that u are update a table using the count of...
April 15, 2010 at 6:44 am
Hello sachin.. here is a sample code that i use for nested cursors...hope this helps u as well, like Dave's 🙂
Try it out and let us know 🙂
IF OBJECT_ID('TEMPDB..#T1') IS...
April 15, 2010 at 2:48 am
Do you want to convert a bigint column to datetime (completedtime is in bigint and u want to convert it to datetime and then compare it to getdate() ?? )...
April 15, 2010 at 2:10 am
Kris-155042 (4/14/2010)
The code is below. I hope I've explained myself well enough.
Unfortunately you have not , mate 🙁
Some Create table statements, some sample data, which column of yours...
April 15, 2010 at 12:37 am
Be sure taht the account who is going to execute that query had necessary and adequate permissions to create a new folder on the OS..
Please let us know if that...
April 14, 2010 at 11:59 pm
Hi buddy,
as i dont have any DDLs i can directly use to attend to your request, i am giving u a vague and rogue code 😀
Please test it before...
April 14, 2010 at 10:29 pm
CirquedeSQLeil (4/14/2010)
Also, I was surprised to see the sudden responses all while I was prettyfying my code. That was a very quick response on this question.
Exactly... even i was...
April 14, 2010 at 12:40 pm
Viewing 15 posts - 1,771 through 1,785 (of 1,922 total)