Viewing 15 posts - 1,081 through 1,095 (of 1,253 total)
Sergiy is right why do u need #ins. BTW what about existing data ?
October 8, 2007 at 11:48 pm
Hi
This is what CTE's are there for in sql2005 - recursive querying. check out BOL for details on how to use CTE in case you dont know.
How ever CTE's...
October 8, 2007 at 11:45 pm
Hi
Yes using a SP would be the right approach in this case. you can return multiple recordsets in a sp.
Since you are dealing with large number of records make sure...
October 8, 2007 at 11:42 pm
Hi
How did you port your sql2000 db to sql 2005.
are the statistics and indexes updated.
Also check connection settings from the middle tier.
If you have a test server you can upgrade...
October 8, 2007 at 6:36 am
Hi
As Jeff said have a integer identity column. have another column which tells which "type" of body it is. even this column can be numeric.
ex:- 1 = Ministries...
October 8, 2007 at 4:36 am
Hi
Did not understand you clearly but still...
If you want to look whether a particular column allows nulls you can query the sys.columns or information_schema.columns views. Both these views have the...
October 8, 2007 at 4:32 am
Hi
Must confess dont know much about this one. Just searching got me this info abt this counter -SQLServer:Database Mirroring . May be you could use the other counters to measure...
October 8, 2007 at 4:26 am
Hi
Error message says "invalid connection string". Check the connection relate things , user accounts under which the 2 instances are running etc..
October 5, 2007 at 5:21 am
Hi
There are different ways of doing this. Some of them are
1) Backup - Restore
2) Attach
3) Script the db, run the script in the other server and port the data.
I would...
October 5, 2007 at 5:19 am
Hi
BOL means Books Online. Press F1 from management studio to get the help where you can search for DDL Triggers.
Check out some sites, get a basic idea of things.
October 5, 2007 at 5:15 am
Hi
Better use a transaction (client side). Otherwise the mail may not be sent but the status will be updated.
October 5, 2007 at 4:59 am
Hi
i dont think we can avoid a loop in this case. However you can use a while loop instead of a cursor. Try and avoid cursors as much as possible.
October 5, 2007 at 4:57 am
Hi
I think u can use the pivot operator for this. search this other sites for how to use pivot.
October 5, 2007 at 12:35 am
Viewing 15 posts - 1,081 through 1,095 (of 1,253 total)