Viewing 15 posts - 271 through 285 (of 363 total)
[font="Verdana"]
Both 1 and 2 are correct in MHO.
I should of went with my instinct, and chose the 1st option, but I rethought it too much I guess.
Anyone else agree...
MH-09-AM-8694
April 22, 2008 at 4:11 am
[font="Verdana"]Can you tell us, why you need to check the values in first(Parent) table? What exactly you are trying to do?
While records get inserted into second (Child) table, it...
MH-09-AM-8694
April 22, 2008 at 3:05 am
[font="Verdana"]
For more information, refer...
http://www.connectionstrings.com/?carrier=sqlserver
Mahesh
[/font]
MH-09-AM-8694
April 22, 2008 at 1:27 am
[font="Verdana"]
Msg 8624, Level 16, State 1, Procedure SIR_spLoadUtilizationDailyHours, Line 459
Internal SQL Server error.
Post some code from SProc so that we can dig around.
Mahesh
[/font]
MH-09-AM-8694
April 22, 2008 at 1:04 am
[font="Verdana"]
Declare @strSQL VarChar(Max)
declare @count int
set @count = 0
Select @count = @count + 1, @strSQL = (Case When @strSQL Is Null Then '''' + DateValue + ''' as DateName1' Else @strSQL...
MH-09-AM-8694
April 22, 2008 at 12:32 am
[font="Verdana"]
The same way you drop table. i.e. Drop Table {Temp Table}
You must have forgotten to drop then. Make a habit tp Drop such table after their use. Also check whether...
MH-09-AM-8694
April 22, 2008 at 12:06 am
[font="Verdana"]I guess, you must be trying to fetch the record before commiting it. Do you have explicit transaction used in your back end code? If so, commit the record after...
MH-09-AM-8694
April 21, 2008 at 11:50 pm
fn_NewId = IIf(IsNull(rsmaxId(0).field), 1, (rsmaxId(0).field + 1))
Try above code and confirm.
By the way, have you tried my previous post? Also have you tried to debug the routine? If...
MH-09-AM-8694
April 21, 2008 at 10:20 pm
[font="Verdana"]
Andras Belokosztolszki (4/21/2008)
vipul (4/19/2008)
MH-09-AM-8694
April 21, 2008 at 5:15 am
[font="Verdana"]
Select Convert(VarChar, Getdate(), 109) As Current_Date
Mahesh
[/font]
MH-09-AM-8694
April 21, 2008 at 4:50 am
[font="Verdana"]Vipul, as per my knowledge we can not directly use such DLLs. Even I don't know how SQL Server parses the query and SQL Server has such DLL as well....
MH-09-AM-8694
April 21, 2008 at 4:45 am
[font="Verdana"]
Means you are generating next Id, BoardNo. by the way, why are you passing Tablename as a parameter?
Try this ...
Select Max({Field_1}) From {Table}
Mahesh
[/font]
MH-09-AM-8694
April 21, 2008 at 1:26 am
[font="Verdana"]
Ripal Patel (4/21/2008)
Dear ,AllCity_Master table having Primary key City_ID,
still how to get Serial No.
I think you haven't been through the URL given to you. You would have been got idea...
MH-09-AM-8694
April 21, 2008 at 1:13 am
[font="Verdana"]Query Optimizer choose best suitable execution plan for a query on its own. So generally it is recommended not to use Join hints in a query.
Mahesh[/font]
MH-09-AM-8694
April 18, 2008 at 5:17 am
[font="Verdana"]If I am not wrong, do you want something like this ...?
SELECT ProductId
,ProductDescription
,Sum(Quantity)
,Sum(QuantityOutstanding)
,StandardPrice
FROM Products INNER JOIN dbo.Inventory
ON dbo.Inventory.Product = dbo.Products.Product
WHERE QuantityOutstanding >0
GROUP BYProductId
,ProductDescription
,StandardPrice
I think you must not in need...
MH-09-AM-8694
April 18, 2008 at 3:01 am
Viewing 15 posts - 271 through 285 (of 363 total)