Viewing 15 posts - 10,546 through 10,560 (of 15,374 total)
Or you could try this undocumented procedure.
exec Insert1000RowsInATableWithoutAnyLoop
September 28, 2012 at 10:06 am
Guras (9/28/2012)
I could but there are certain zones in US that does not adjust the tiem for daylight savings.
Well now there are new rules to your issue. I would not...
September 28, 2012 at 10:04 am
Guras (9/28/2012)
The time value coming from the web application are in their local time zone but ned...
September 28, 2012 at 9:55 am
Guras (9/28/2012)
My server is in...
September 28, 2012 at 9:16 am
SQL_path (9/28/2012)
Sean Lange (9/28/2012)
September 28, 2012 at 9:12 am
Can you post the actual values for your string and the EXACT error message. I don't see anything that would cause an error but I don't really know what the...
September 28, 2012 at 8:53 am
Not enough details to provide much of an answer. What is in @orders? What does the split function look like?
I would recommend using the splitter found in the article...
September 28, 2012 at 8:32 am
The problem is because you have a list of numbers and you are trying to compare that to a uniqueidentifier.
You insert this into a table.
('101038, 101039, 101040, 101044')
INSERT INTO @Tmp...
September 28, 2012 at 8:20 am
What you are describing is what is known as EAV (Entity Value Attribute). This is a horrible design in almost every sense of the word. There are a few cases...
September 28, 2012 at 7:36 am
Using the text right in your error message...
"Full Error Text
-----------------
SQL1031N The database directory cannot be found on the indicated file system.
Explanation: The system database directory or local database directory could...
September 27, 2012 at 12:22 pm
Take a look at this article by Gail about catch-all queries. Your situation is not exactly the same but you can modify the logic presented to handle your complicated sorting...
September 27, 2012 at 12:13 pm
jrichards54 (9/27/2012)
I have created a database in ACCESS and named it "ConnectionTest.mdb"...
September 27, 2012 at 12:10 pm
vivekkumar341 (9/27/2012)
instead of having multiple if blocks, can't you use switch statements?
There is no switch statement in t-sql which I suspect is why there are so many nested if-else conditions.
September 27, 2012 at 12:06 pm
SQL_Loser (9/27/2012)
1.What is the purpose of self referential foreign keys ? or why do we create it?
2.In a many to...
September 27, 2012 at 12:00 pm
harri.reddy (9/27/2012)
hii want to insert 1000 rows in a table without any loop.
how can i do it?
Start with the first link in my signature.
September 27, 2012 at 11:57 am
Viewing 15 posts - 10,546 through 10,560 (of 15,374 total)