Viewing 15 posts - 1 through 15 (of 156 total)
I looked at the query execution plan for the view and it is using the underlying indexes of the tables.
Thanks for your input.
November 2, 2007 at 2:26 pm
Indexed views will persist the result of the view (as if it were a table).
Does it mean that the index of the base table will be used when querying...
November 2, 2007 at 9:57 am
This has worked for me. I use VB.Net but should not make a difference for VB 6.0
Private Sub SetCrystalParameterDate(ByRef crParamFieldDefs As ParameterFieldDefinitions, _
...
October 24, 2007 at 11:04 am
Look up sp_defaultdb in BOL. Basic syntax is
sp_defaultdb [ @loginame = ] 'login', [ @defdb = ] 'database'
October 23, 2007 at 10:36 am
Try this.
[font="Courier New"]Private Sub VoteCount_BeforeUpdate(Cancel As Integer)
Dim x As Integer
If VoteCount.Value <> Int(VoteCount.Value) Then
x...
October 23, 2007 at 10:14 am
September 27, 2007 at 3:44 pm
You may want to a take a look at this script.
September 19, 2007 at 11:53 am
SET @path_holder=(select f.FolderPath, d.DocumentID from xsdl_Folder f, xsdl_Document...
September 19, 2007 at 10:04 am
Do a search on this site and you will find many threads on this topic. Here is one.
September 19, 2007 at 7:11 am
What are the data types of the 2 columns - can you give us sample data?
What error do get ?
September 19, 2007 at 6:40 am
You will need a Numbers table to get the date range. You can get the script to create the numbers table from here
DECLARE @tbl TABLE(PkID int, Start_Date datetime, End_Date...
September 18, 2007 at 11:01 am
DECLARE @tbl TABLE(KeyID int, Dept int, Dt datetime)
INSERT INTO @tbl
SELECT 12345, 13, '9/16/2007'
UNION
SELECT 12346, 13, '9/14/2007'
UNION
SELECT 12358, 10, '8/16/2007'
UNION
SELECT 12365 , 10, '4/17/2007'
UNION
SELECT 12398, 9, '1/1/2007'
UNION
SELECT 12600, 13, '3/1/2007'
UNION
SELECT...
September 17, 2007 at 12:16 pm
There is Express edition Toolkit if you are interested
http://msdn2.microsoft.com/en-us/express/bb410792.aspx
September 10, 2007 at 9:36 am
Do a join to one of your main tables that has EmplID
SELECT a.EmplID,
COALESCE(C.PhoneType, H.PhoneType,'') PhoneType,
COALESCE(C.PhoneNumber, H.PhoneNumber,'') PhoneNumber
FROM MainTable a
LEFT OUTER JOIN tblPhoneNumbers C ON a.EmplID = C.EmplID AND C.PhoneType...
September 6, 2007 at 3:12 pm
Viewing 15 posts - 1 through 15 (of 156 total)