Viewing 15 posts - 6,316 through 6,330 (of 7,505 total)
First question that has to be asked : Does this all have to be in the same transaction-scope ? (on-line/realtime). Keep in mind, if the trigger fails, your sql-transaction also...
March 29, 2006 at 1:35 pm
Consider it as an extention to "Identity" ![]()
from books online (BOL)
If an application must generate an identifier column that is unique across the entire...
March 22, 2006 at 5:56 am
also keep in mind when defining your parameters, the better you allign with your sproc-parameter-datatype or column-datatype, the better your commandobject will be served.
Tell the system what you know !
you...
March 22, 2006 at 2:35 am
- Can you try to execute the queries without the TOP-keyword (and order by) in the views ?
- Like you can see, maybe you would be better off by altering...
March 21, 2006 at 2:42 am
If I'm correct this issue has been mentiond at SSC-forum last week or the week before.
IF I find the thread, I'll add it
updated :
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=5&messageid=265470#bm266005
March 21, 2006 at 1:46 am
first of all :
- ... FROM dbo.eventlog
WHERE (RIGHT(attributes, 4) LIKE '%55}')
will cause a table-scan ! because with the function no index...
March 21, 2006 at 1:34 am
FYI
check out http://www.microsoft.com/sql/downloads/trial-software.mspx
for an 180-days trial version.
March 21, 2006 at 1:25 am
With SQL7 you will have to use a #tempTB in stead of a declare @tb table !
It does not know tablevariables !
If you are only interested in the last...
March 20, 2006 at 1:41 am
So your TableA is dynamic ? ![]()
![]()
if not, write a query to perform your select, determine a maximum...
March 20, 2006 at 12:41 am
March 17, 2006 at 5:54 am
so this is a hiarchy. ![]()
With SQL2005 you can use a CTE with a recursive part ![]()
With SQL2000...
March 17, 2006 at 3:36 am
- avoid non-clustering-indexes at load time (consider drop before / re-create after load)
- sort you data according to the clustering index of your objects before loading.
- use bulk-insert whenever possible
I...
March 17, 2006 at 3:24 am
thanks for the feedback.
These kind the tiny brainteasers being solved make our day ![]()
March 15, 2006 at 11:02 am
I didn't encounter this problem, but I'm using SQL2005EE and I'm installing the client-software at the C-drive ! (default).
I've set up an Active/Active cluster with 3 instances hosted on 2...
March 13, 2006 at 3:18 am
Viewing 15 posts - 6,316 through 6,330 (of 7,505 total)