Viewing 15 posts - 43,261 through 43,275 (of 49,571 total)
Any indexes on those tables?
Is the distinct necessary?
November 10, 2008 at 6:20 am
China Satya Rao T (11/10/2008)
In the execution plan, the cost of table variable population is 0.1%In the main query, cost of table scan on table variable is 0%
The cost of...
November 10, 2008 at 6:09 am
Why does it have to be a single table?
Have you considered table partitioning (SQL 2005 feature)
How wide are the rows?
What indexes do you have and what are the common queries?
November 10, 2008 at 3:16 am
Don't shrink the databases. It causes massive fragmentation of indexes.
You can, as a once off operation, shrink the log down. If, however the log file needs to be that...
November 10, 2008 at 1:28 am
madhu.arda (11/9/2008)
I would like to test the following recovery scenario:
1.There is some activity has been done on database 'abc' from 3:00pm to 3:10pm
2.stop sql server delete ldf file of...
November 10, 2008 at 1:25 am
rosh (11/9/2008)
GilaMonster (11/8/2008)
rosh (11/6/2008)
Would null values cause this.See if ISNULL helps.
Null won't cause a divide by zero. Anything divided by null (or added to null or multiplied by null, ...)...
November 10, 2008 at 1:11 am
vempralachaitanya (11/9/2008)
But can you please tell me why the where clause is bouncing and what is the reason?
Bouncing?
November 10, 2008 at 1:08 am
UPDATE t SET t.sno = s.sno
FROM t INNER JOIN s ON s.sid=t.sid
WHERE t.sno IS NULL
November 9, 2008 at 12:22 pm
Access or SQL Server?
Can you post the table definitions, an example of the data that would be inserted and the end results that you want?
November 9, 2008 at 12:15 pm
A calculated column can only refer to columns within the same table.
From Books online
A computed column is a virtual column that is not physically stored in the table but is...
November 9, 2008 at 12:12 pm
For parameters it'll look more like this.
SELECT [Lesson_Schedule].[Lesson_Date], [Lesson_Time].[Lesson_Time], [Student].[Student_Id],
[Student].[First_Name], [Student].[Last_Name], [Lesson_Type].[Duration_Time]
FROM Student
INNER JOIN Booking ON [Student].[Student_Id]=[Booking].[Student_Id]
INNER JOIN Staff ON [Staff].[Staff_Id]=[Booking].[Staff_Id]
...
November 9, 2008 at 12:08 pm
Can you post the code for the function that gets the employee codes please, along with the code for any functions it calls. Also please post the table definition.
November 9, 2008 at 1:45 am
I'd say stored proc. Have the form call the proc when it's saved and have the proc do the inserts into the two tables.
November 9, 2008 at 1:36 am
cindy_sinath (11/8/2008)
WHERE [Staff].[Staff_Id]=[Enter Staff ID] And [Lesson_Schedule].[Lesson_Date] Like "*" & [Enter the Date] & "*";
What's the intention with this line? SQL, unlike Access, doesn't prompt for data entry. This is...
November 9, 2008 at 1:35 am
Viewing 15 posts - 43,261 through 43,275 (of 49,571 total)