Posts

Migration Data from ORACLE to SQL SERVER

hi everyone,  i've oracle database 10g on windows 2003 server worked in old desktop applications need convert and migration sql server 2012 using wizard , vs.net c# projects. best regards. abdulhakim m.elrhumi. use conversion. https://www.microsoft.com/en-us/download/details.aspx?id=43689 note if data wish use ssis might better fit. SQL Server  >  SQL Server Migration

mdx switch function on parameter conditional

i need run either topcount or bottomcount based on input parameter. not iif work tried case still getting error: (original topcount code works :-) ) ... have code repetition or can 1 somehow replace topcount either topcount or bottomcount input parm? tia, mic.   <execute xmlns="urn:schemas-microsoft-com:xml-analysis">   <command>     <statement>       with       member [measures].[pi] as       (       [measures].[prev iss amt]       )       member [measures].[ni] as       (       [measures].[next iss amt]       )       member [measures].[incr] as       ([measures].[next iss amt]-[measures].[prev iss amt])     ...

units(coordinate or points) in System.Drawing and System.Windows.Shapes is different?

hi, may know whether units(coordinate or points) in system.drawing , system.windows.shapes different? if yes how make them same? problem rises when use 1 canvas , 1 inkcanvas. canvas contains static rectangle drawn using these codes: system.window.shapes.rectangle square = new rectangle();             rectangle.setvalue(canvas.leftproperty, 80d);             rectangle.setvalue(canvas.topproperty, 10d);             rectangle.width = 65d;             rectangle.height = 50;             rectangle.stroke = new solidcolorbrush(colors.black); then, in oncanvasmousedown code, did checking if system.drawing.rectangle same points contains the mouseclick points. if yes, can drag system.drawing.rectangle icon inkcanvas , rectangle appear rectangle shape stroke. private system.drawing.rectangle icon_rectangle = new system.drawing.rectangle(80, 10, 70, 50);  void oncanvasmousedown(object sender,mousebuttoneventargs e)         {              base.onmouseleftbuttondown(e);              point current...

Parsing SQL Query .

hi guys i working sl4 , problem bit different . i parsing sql queries , creating . i filtering on basis of , order , and operators things works fine , if there string filter , in operatos and in string parameters if there string containing , order or , word is there better way parse queries ? regards.       you can use following code: string query = "select * table table.field1='where' , table.field2='and'where"; bool inquotes = false; (int = 0; < query.length; i++) { if (query.substring(i, 1) == "'") inquotes = !inquotes; if (i + 5 <= query.length) { if (query.substring(i, 5).toupper() == "where" && !inquotes) { query = query.substring(0, i) + "__where__" + query.substring(i + 5); += 9; } } if (i + 3 <= query.length) { if (...

Performance SQL 2005

hello if should choose recovery model on database have max performance, choose. know of other issues regarding simple or full model (disk, restore point and.......). i'm thinking of performance issue. fastest in database? it's accounting sw lot's og reads , writes. hi, the simple recovery model minimizes administrative overhead transaction log, because transaction log not backed up. performance view, simple recovery may better solution. however, simple recovery model risks significant work-loss exposure if database damaged. data recoverable recent backup of lost data. to determine optimal recovery model particular database, should consider both recovery goals , requirements database , whether can manage log backups. more information choosing recovery model database, please refer http://technet.microsoft.com/en-us/library/ms175987.aspx . if there more questions, please let me know. thanks. ***xiao min tan***microsoft online community*** ...

how do i start to make a query in sql server manegment studio ???????????

how start make query in sql server manegment studio ??????????? hi, i f question geared toward how write tsql queries (irrespective of client tool use), please follow link -  http://msdn.microsoft.com/en-us/library/bb264565(v=sql.90).aspx if know how write tsql queries , looking information on how use sql server management studio, please follow link - to start basics of using sql server management studio, please refer link -  http://msdn.microsoft.com/en-us/library/ms174173.aspx please clarify question more details, if neither of answers question. based on question, not sure if don't know tsql, or don't know how use sql server mgmt studio. providing answers both. hope helps ! sanil mhatre | database developer | mcts | if find reply useful in way, please vote helpful. if has helped answer question, please mark answer. http://sqlwithsanil.com SQL Server ...

urgent SQL Server sa password question.

all, please clarify, when installing sql server 2005 on windows server 2003 stabd alone., sa password did nt have policy settings. sql server 2008 windows 2008 also, stand alone installation did not enforce policy on sa password but when installing sql server 2005 on cluster, windows 2003, sa password enforced policy. policy settings sa user happen on domain installations/clsuters please clarify. thanks lot nik hi, security enforcement new feature got in sql2005 onwards. not specific standalone or cluster specific sql server irrelevent of windows enviroment. can go on login properties , check enforce password policy enable password policy login or can uncheck option. thanks, atul SQL Server  >  SQL Server Security ...