Viewing 15 posts - 31 through 45 (of 121 total)
I am second to Ninja as set IDENTITY_INSERT works for a single table at a time and before make it on for other table you have to off it...
October 14, 2011 at 11:48 am
hi i would like to mention some point at here
you can do this through single procedure why you want two procedure for that.
you are not following proper naming convention...
October 14, 2011 at 10:58 am
Thanks howard,
i got the query, in my DB there are few desing issues are there but can't help as my company is using this structure from long time, although this...
October 12, 2011 at 6:07 am
i think you shouldn't inculed master in your code to get the user defined indexes,
can u pls post your complete code, that we can go through and come up...
October 12, 2011 at 1:06 am
Iin char it is paddedup with space but in case of varchar it will not.
varchar is a variable length datatype so it will always hold as many bytes at there...
October 12, 2011 at 1:01 am
>>I am stucked at Index info... I tried using (select name ,index_id ,OBJECT_ID ,TYPE ,type_desc ,is_unique ,is_primary_key ,fill_factor from ['+@srvname+'].master.sys.indexes'<<
i think here instead of using master u have to use...
October 12, 2011 at 12:52 am
it is not clear what is your intention, why u r going for a cursor u can easily find all indexes and and db name.
will you please explain in a...
October 12, 2011 at 12:21 am
what backup do you have is it from 2k8 R2 ??
give the details to get help
October 10, 2011 at 5:01 am
thanks ninja for your quick reply
it was blocked some of the objects, and the lock was not released, i have restarted sql server services and now i am able to...
October 7, 2011 at 9:30 am
thanks ninja for ur quick reply
Session IDUser ProcessLoginDatabaseTask StateCommandApplicationWait Time (ms)Wait TypeWait ResourceBlocked ByHead BlockerTotal CPU (ms)Total Physical I/O (MB)Memory Use (KB)Open TransactionsLogin TimeLast Request Start TimeHost NameNet AddressExecution Context...
October 7, 2011 at 9:22 am
as per the information given by you,
you can use where clause instead of top
select id from @table where id<=10
if your requirement is something else and you want to...
October 7, 2011 at 6:53 am
thanks carolyn, its really a nice solution i use to do it via UDF.
i think in term of performance also this one is better.
thanks
ghanshyam
October 7, 2011 at 6:05 am
its glad that you got your solution, but using identity column is better then doing all this.
if can redesign your table it would be better as per performance and maintainability...
October 7, 2011 at 12:50 am
in your updated you can mention where clause with your inserted value of geography_id,country but you have to be sure that combination of these two is unique
if it's not...
October 7, 2011 at 12:20 am
can you please little bit more explainotry in your problem the amount of information you are providing is not sufficient for us to understand the problem,
few points we need some...
October 6, 2011 at 11:45 pm
Viewing 15 posts - 31 through 45 (of 121 total)