12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858 |
- USE [master]
- GO
- /****** Object: Database [dbnull] Script Date: 2014/10/30 11:22:13 ******/
- CREATE DATABASE [dbnull] ON PRIMARY
- ( NAME = N'dbnull', FILENAME = N'E:\lyfzbin\Services\\数据\dbnull.mdf' , SIZE = 2048KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
- LOG ON
- ( NAME = N'dbnull_log', FILENAME = N'E:\lyfzbin\Services\数据\dbnull_log.LDF' , SIZE = 1024KB , MAXSIZE = UNLIMITED, FILEGROWTH = 10%)
- --GO
- --ALTER DATABASE [dbnull] SET COMPATIBILITY_LEVEL = 90
- --GO
- IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
- begin
- EXEC [dbnull].[dbo].[sp_fulltext_database] @action = 'enable'
- end
- GO
- ALTER DATABASE [dbnull] SET ANSI_NULL_DEFAULT OFF
- GO
- ALTER DATABASE [dbnull] SET ANSI_NULLS OFF
- GO
- ALTER DATABASE [dbnull] SET ANSI_PADDING OFF
- GO
- ALTER DATABASE [dbnull] SET ANSI_WARNINGS OFF
- GO
- ALTER DATABASE [dbnull] SET ARITHABORT OFF
- GO
- ALTER DATABASE [dbnull] SET AUTO_CLOSE ON
- GO
- ALTER DATABASE [dbnull] SET AUTO_CREATE_STATISTICS ON
- GO
- ALTER DATABASE [dbnull] SET AUTO_SHRINK OFF
- GO
- ALTER DATABASE [dbnull] SET AUTO_UPDATE_STATISTICS ON
- GO
- ALTER DATABASE [dbnull] SET CURSOR_CLOSE_ON_COMMIT OFF
- GO
- ALTER DATABASE [dbnull] SET CURSOR_DEFAULT GLOBAL
- GO
- ALTER DATABASE [dbnull] SET CONCAT_NULL_YIELDS_NULL OFF
- GO
- ALTER DATABASE [dbnull] SET NUMERIC_ROUNDABORT OFF
- GO
- ALTER DATABASE [dbnull] SET QUOTED_IDENTIFIER OFF
- GO
- ALTER DATABASE [dbnull] SET RECURSIVE_TRIGGERS OFF
- GO
- ALTER DATABASE [dbnull] SET DISABLE_BROKER
- GO
- ALTER DATABASE [dbnull] SET AUTO_UPDATE_STATISTICS_ASYNC OFF
- GO
- ALTER DATABASE [dbnull] SET DATE_CORRELATION_OPTIMIZATION OFF
- GO
- ALTER DATABASE [dbnull] SET TRUSTWORTHY OFF
- GO
- ALTER DATABASE [dbnull] SET ALLOW_SNAPSHOT_ISOLATION OFF
- GO
- ALTER DATABASE [dbnull] SET PARAMETERIZATION SIMPLE
- GO
- ALTER DATABASE [dbnull] SET READ_COMMITTED_SNAPSHOT OFF
- GO
- ALTER DATABASE [dbnull] SET RECOVERY SIMPLE
- GO
- ALTER DATABASE [dbnull] SET MULTI_USER
- GO
- ALTER DATABASE [dbnull] SET PAGE_VERIFY CHECKSUM
- GO
- ALTER DATABASE [dbnull] SET DB_CHAINING OFF
- GO
- USE [dbnull]
- GO
- /****** Object: Table [dbo].[area] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[area](
- [id] [varchar](50) NULL,
- [name] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[bakstate] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[bakstate](
- [date] [nvarchar](50) NULL,
- [photo] [nvarchar](50) NULL,
- [info] [nvarchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[baseexpendtype] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[baseexpendtype](
- [name] [nvarchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[bumen] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[bumen](
- [id] [int] IDENTITY(1,1) NOT NULL,
- [name] [varchar](50) NULL,
- PRIMARY KEY CLUSTERED
- (
- [id] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[burncdreg] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[burncdreg](
- [id] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [ren] [varchar](50) NULL,
- [remark] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[businessintention] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- CREATE TABLE [dbo].[businessintention](
- [name] [nvarchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- /****** Object: Table [dbo].[businesstype] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- CREATE TABLE [dbo].[businesstype](
- [name] [nvarchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- /****** Object: Table [dbo].[childmsg] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[childmsg](
- [check] [varchar](50) NULL,
- [days] [varchar](50) NULL,
- [content] [varchar](max) NULL,
- [mode] [nvarchar](50) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[client] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[client](
- [id] [varchar](50) NULL,
- [name1] [varchar](50) NULL,
- [name2] [varchar](50) NULL,
- [phone1] [varchar](50) NULL,
- [phone2] [varchar](50) NULL,
- [qq1] [varchar](50) NULL,
- [qq2] [varchar](50) NULL,
- [addr1] [varchar](50) NULL,
- [addr2] [varchar](50) NULL,
- [occupation1] [varchar](50) NULL,
- [occupation2] [varchar](50) NULL,
- [birthday1] [varchar](50) NULL,
- [birthday2] [varchar](50) NULL,
- [time3] [varchar](50) NULL,
- [area] [varchar](50) NULL,
- [area2] [varchar](50) NULL,
- [check1] [varchar](50) NULL,
- [check2] [varchar](50) NULL,
- [check3] [varchar](50) NULL,
- [sex] [varchar](50) NULL,
- [zodiac] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[client2] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[client2](
- [name] [varchar](50) NULL,
- [phone] [varchar](50) NULL,
- [qq] [varchar](50) NULL,
- [addr] [varchar](50) NULL,
- [from] [varchar](50) NULL,
- [reason] [varchar](50) NULL,
- [bz] [varchar](max) NULL,
- [pinyin] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [sex] [varchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL,
- [ren] [varchar](50) NULL,
- [birthday] [varchar](50) NULL,
- [check1] [varchar](50) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[client2phonerecord] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[client2phonerecord](
- [phone] [varchar](50) NULL,
- [datetime] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[client2phonerecordout] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[client2phonerecordout](
- [phoneno] [varchar](50) NULL,
- [datetime] [varchar](50) NULL,
- [name] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[client3] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[client3](
- [name] [varchar](50) NULL,
- [phone] [varchar](50) NULL,
- [qq] [varchar](50) NULL,
- [addr] [varchar](50) NULL,
- [bz] [varchar](max) NULL,
- [pinyin] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [sex] [varchar](50) NULL,
- [ren] [varchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL,
- [dandate] [varchar](50) NULL,
- [name2] [varchar](50) NULL,
- [phone2] [varchar](50) NULL,
- [qq2] [varchar](50) NULL,
- [birthday] [varchar](50) NULL,
- [birthday2] [varchar](50) NULL,
- [time3] [varchar](50) NULL,
- [taoxiname] [varchar](50) NULL,
- [taoxijiage] [varchar](50) NULL,
- [check1] [varchar](50) NULL,
- [check2] [varchar](50) NULL,
- [check3] [varchar](50) NULL,
- [pinyin2] [varchar](50) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[client3phonerecord] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[client3phonerecord](
- [phone] [varchar](50) NULL,
- [datetime] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[client3phonerecordout] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[client3phonerecordout](
- [phoneno] [varchar](50) NULL,
- [datetime] [varchar](50) NULL,
- [name] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[clientfrom] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[clientfrom](
- [name] [varchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[clientqequirement] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- CREATE TABLE [dbo].[clientqequirement](
- [name] [nvarchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- /****** Object: Table [dbo].[clientreason] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[clientreason](
- [name] [varchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[clienttype] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- CREATE TABLE [dbo].[clienttype](
- [name] [nvarchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- /****** Object: Table [dbo].[digitalwork] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[digitalwork](
- [id] [varchar](50) NULL,
- [waiter1] [varchar](50) NULL,
- [waiter2] [varchar](50) NULL,
- [waiter3] [varchar](50) NULL,
- [date1] [varchar](50) NULL,
- [date2] [varchar](50) NULL,
- [date3] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[dindan] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[dindan](
- [id] [varchar](50) NULL,
- [money1] [varchar](50) NULL,
- [money2] [varchar](50) NULL,
- [money3] [varchar](50) NULL,
- [name1] [varchar](50) NULL,
- [name2] [varchar](50) NULL,
- [taoxiid] [varchar](50) NULL,
- [taoxiname] [varchar](50) NULL,
- [taoxijiage] [varchar](50) NULL,
- [taoxizs] [varchar](50) NULL,
- [time1] [varchar](50) NULL,
- [time2] [varchar](50) NULL,
- [time3] [varchar](50) NULL,
- [bm] [varchar](50) NULL,
- [ren] [varchar](50) NULL,
- [discount] [varchar](50) NULL,
- [payed1] [varchar](50) NULL,
- [payed2] [varchar](50) NULL,
- [payed3] [varchar](50) NULL,
- [payed4] [varchar](50) NULL,
- [payed5] [varchar](50) NULL,
- [time4] [varchar](50) NULL,
- [time5] [varchar](50) NULL,
- [takezs] [varchar](50) NULL,
- [choosezs] [varchar](50) NULL,
- [status] [varchar](50) NULL,
- [clothescount2] [varchar](50) NULL,
- [outside2] [varchar](50) NULL,
- [style] [varchar](50) NULL,
- [payed3time] [varchar](50) NULL,
- [payed4ren] [varchar](50) NULL,
- [payed4time] [varchar](50) NULL,
- [status2] [varchar](50) NULL,
- [status3] [varchar](50) NULL,
- [waiter1] [varchar](50) NULL,
- [waiter2] [varchar](50) NULL,
- [waiter3] [varchar](50) NULL,
- [waiter4] [varchar](50) NULL,
- [bz] [varchar](max) NULL,
- [taketime] [varchar](50) NULL,
- [clothescount] [varchar](50) NULL,
- [outside] [varchar](50) NULL,
- [bz2] [varchar](max) NULL,
- [bz3] [varchar](max) NULL,
- [urgent] [varchar](50) NULL,
- [status4] [varchar](50) NULL,
- [status5] [varchar](50) NULL,
- [waiter5] [varchar](50) NULL,
- [waiter6] [varchar](50) NULL,
- [pinyin1] [varchar](50) NULL,
- [pinyin2] [varchar](50) NULL,
- [waiter7] [varchar](50) NULL,
- [status6] [varchar](50) NULL,
- [phone1] [varchar](50) NULL,
- [phone2] [varchar](50) NULL,
- [status7] [varchar](50) NULL,
- [memberno] [varchar](50) NULL,
- [waiter8] [varchar](50) NULL,
- [time6] [varchar](50) NULL,
- [status8] [varchar](50) NULL,
- [bruncount] [varchar](50) NULL,
- [tichenren1] [varchar](50) NULL,
- [tichenren2] [varchar](50) NULL,
- [tichenren3] [varchar](50) NULL,
- [tichenren4] [varchar](50) NULL,
- [tichenren5] [varchar](50) NULL,
- [send1] [varchar](50) NULL,
- [send2] [varchar](50) NULL,
- [send3] [varchar](50) NULL,
- [datetime4] [varchar](50) NULL,
- [datetime5] [varchar](50) NULL,
- [datetime6] [varchar](50) NULL,
- [waiter12] [varchar](50) NULL,
- [waiter22] [varchar](50) NULL,
- [waiter1rate] [varchar](50) NULL,
- [waiter2rate] [varchar](50) NULL,
- [waiter13] [varchar](50) NULL,
- [waiter14] [varchar](50) NULL,
- [waiter23] [varchar](50) NULL,
- [waiter24] [varchar](50) NULL,
- [waiter12rate] [varchar](50) NULL,
- [waiter13rate] [varchar](50) NULL,
- [waiter14rate] [varchar](50) NULL,
- [waiter22rate] [varchar](50) NULL,
- [waiter23rate] [varchar](50) NULL,
- [waiter24rate] [varchar](50) NULL,
- [ren2] [varchar](50) NULL,
- [renrate] [varchar](50) NULL,
- [ren2rate] [varchar](50) NULL,
- [txtype] [varchar](50) NULL,
- [delphotos] [varchar](max) NULL,
- [growthtxselname] [varchar](max) NULL,
- [delphotos2] [varchar](max) NULL,
- [designno] [varchar](max) NULL,
- [designreplaceno] [varchar](max) NULL,
- [size] [varchar](max) NULL,
- [dindantype] [varchar](50) NULL,
- [contractno1] [varchar](50) NULL,
- [contractno2] [varchar](50) NULL,
- [cfno] [varchar](50) NULL,
- [calldate] [varchar](50) NULL,
- [from] [varchar](50) NULL,
- [reason] [varchar](50) NULL,
- [time7] [varchar](50) NULL,
- [time8] [varchar](50) NULL,
- [time9] [varchar](50) NULL,
- [time10] [varchar](50) NULL,
- [authorize] [varchar](50) NULL,
- [discount2] [varchar](50) NULL,
- [authorize2] [varchar](50) NULL,
- [bz4] [nvarchar](max) NULL,
- [satisfaction1] [int] NULL,
- [satisfaction2] [int] NULL,
- [satisfaction3] [int] NULL,
- [satisfaction4] [int] NULL,
- [satisfaction5] [int] NULL,
- [satisfaction6] [int] NULL,
- [satisfaction7] [int] NULL,
- [bz5] [nvarchar](max) NULL,
- [send4] [int] NULL,
- [send5] [int] NULL,
- [waiter9] [nvarchar](120) NULL,
- [curno] [nvarchar](50) NULL,
- [xplrr] [nvarchar](50) NULL,
- [xplrtime] [nvarchar](50) NULL,
- [ImageStatus] [numeric](6, 0) NOT NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[dindanbukuan] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[dindanbukuan](
- [autoid] [int] IDENTITY(1,1) NOT NULL,
- [id] [varchar](50) NULL,
- [money] [varchar](50) NULL,
- [ren] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [bz] [varchar](max) NULL,
- [kind] [varchar](50) NULL,
- [ren2] [varchar](50) NULL,
- [item] [nvarchar](max) NULL,
- [paytype] [varchar](50) NULL,
- [jdd] [varchar](50) NULL,
- [financecheck] [nvarchar](10) NULL,
- [discount] [nvarchar](50) NULL,
- [time] [nvarchar](50) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[dindanbukuan2] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[dindanbukuan2](
- [autoid] [int] IDENTITY(1,1) NOT NULL,
- [id] [varchar](50) NULL,
- [money] [varchar](50) NULL,
- [ren] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [bz] [nvarchar](500) NULL,
- [kind] [varchar](50) NULL,
- [ren2] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[dindanjd] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[dindanjd](
- [id] [varchar](50) NULL,
- [name] [varchar](50) NULL,
- [date] [nvarchar](50) NULL,
- [time] [varchar](50) NULL,
- [waiter1] [varchar](50) NULL,
- [waiter2] [varchar](50) NULL,
- [status] [varchar](50) NULL,
- [waiter12] [varchar](50) NULL,
- [waiter22] [varchar](50) NULL,
- [bookingdate] [varchar](50) NULL,
- [dress] [nvarchar](150) NULL,
- [bz] [nvarchar](150) NULL,
- [clerk] [nvarchar](120) NULL,
- [inputtime] [nvarchar](50) NULL,
- [branch] [nvarchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[dindansp] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[dindansp](
- [id] [varchar](20) NULL,
- [spid] [varchar](15) NULL,
- [shuliang] [nvarchar](120) NULL,
- [kind] [nvarchar](10) NULL,
- [price] [varchar](50) NULL,
- [name] [varchar](50) NULL,
- [no] [varchar](max) NULL,
- [status1] [varchar](50) NULL,
- [status2] [varchar](50) NULL,
- [status3] [varchar](50) NULL,
- [status4] [varchar](50) NULL,
- [autoid] [int] IDENTITY(1,1) NOT NULL,
- [date1] [varchar](50) NULL,
- [date2] [varchar](50) NULL,
- [date3] [varchar](50) NULL,
- [date4] [varchar](50) NULL,
- [name1] [varchar](50) NULL,
- [name2] [varchar](50) NULL,
- [name3] [varchar](50) NULL,
- [name4] [varchar](50) NULL,
- [hqdate] [varchar](50) NULL,
- [hqtime] [varchar](50) NULL,
- [urgent] [varchar](50) NULL,
- [taketime] [varchar](50) NULL,
- [no2] [varchar](max) NULL,
- [growthtxname] [nvarchar](50) NULL,
- [status5] [nvarchar](50) NULL,
- [status6] [nvarchar](50) NULL,
- [date5] [nvarchar](50) NULL,
- [date6] [nvarchar](50) NULL,
- [name5] [nvarchar](50) NULL,
- [name6] [nvarchar](50) NULL,
- [ps] [nvarchar](50) NULL,
- [zs] [nvarchar](50) NULL,
- [ren1] [nvarchar](120) NULL,
- [ren2] [nvarchar](120) NULL,
- [hqstatus] [nvarchar](50) NULL,
- [bz] [nvarchar](200) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[dindansp2] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[dindansp2](
- [id] [varchar](50) NULL,
- [name] [varchar](50) NULL,
- [count] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [clerk] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[dindansp3] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[dindansp3](
- [id] [varchar](50) NULL,
- [spid] [varchar](50) NULL,
- [name] [varchar](50) NULL,
- [count] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[dressarea] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[dressarea](
- [name] [varchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[dresshire] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[dresshire](
- [money] [varchar](50) NULL,
- [money2] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [clerk] [varchar](50) NULL,
- [hireorsale] [varchar](50) NULL,
- [name] [varchar](50) NULL,
- [phone] [varchar](50) NULL,
- [id] [varchar](50) NULL,
- [remark] [varchar](max) NULL,
- [date1] [varchar](50) NULL,
- [date2] [varchar](50) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[dresshiredata] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[dresshiredata](
- [id] [varchar](50) NULL,
- [no] [varchar](50) NULL,
- [name] [varchar](50) NULL,
- [count] [varchar](50) NULL,
- [isreturn] [varchar](50) NULL,
- [returndate] [varchar](50) NULL,
- [clerk] [varchar](50) NULL,
- [hireorsale] [varchar](50) NULL,
- [date1] [varchar](50) NULL,
- [date2] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[dressinfo] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[dressinfo](
- [type] [varchar](50) NULL,
- [no] [varchar](50) NULL,
- [name] [varchar](50) NULL,
- [count] [varchar](50) NULL,
- [price1] [varchar](50) NULL,
- [price2] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [hirecount] [varchar](50) NULL,
- [salecount] [varchar](50) NULL,
- [balance] [varchar](50) NULL,
- [remark] [varchar](max) NULL,
- [dressarea] [varchar](50) NULL,
- [washcount] [varchar](50) NULL,
- [type2] [nvarchar](50) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[dresstype] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[dresstype](
- [name] [varchar](50) NULL,
- [autoid] [int] IDENTITY(1,1) NOT NULL,
- [type] [nvarchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[employeephonerecord] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[employeephonerecord](
- [name] [varchar](50) NULL,
- [datetime] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[employeephonerecordout] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[employeephonerecordout](
- [name] [varchar](50) NULL,
- [phoneno] [varchar](50) NULL,
- [datetime] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[expendtype] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[expendtype](
- [name] [varchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[files] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[files](
- [FileNO] [int] IDENTITY(1,1) NOT NULL,
- [PartNO] [int] NULL,
- [FileType] [int] NULL,
- [FilesName] [varchar](256) NULL,
- [FileRemark] [varchar](256) NULL,
- [Width] [int] NULL,
- [Height] [int] NULL,
- [AddTime] [datetime] NULL,
- [OrderNO] [int] NULL,
- [Del] [tinyint] NULL,
- CONSTRAINT [PK_FILES] PRIMARY KEY CLUSTERED
- (
- [FileNO] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[fixedassets] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- CREATE TABLE [dbo].[fixedassets](
- [name] [nvarchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL,
- [count] [nvarchar](50) NULL,
- [type] [nvarchar](50) NULL,
- [clerk] [nvarchar](50) NULL,
- [remark] [nvarchar](50) NULL,
- [date] [nvarchar](50) NULL,
- [photo] [image] NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- /****** Object: Table [dbo].[framesize] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[framesize](
- [name] [varchar](50) NULL,
- [width] [varchar](50) NULL,
- [height] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[gongyingshang] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[gongyingshang](
- [gyid] [varchar](20) NULL,
- [gyname] [varchar](30) NULL,
- [addr] [varchar](30) NULL,
- [tel] [varchar](20) NULL,
- [fax] [varchar](8) NULL,
- [netaddress] [varchar](20) NULL,
- [bz] [varchar](max) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[growthtx] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[growthtx](
- [name] [varchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[gudingfeiyong] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[gudingfeiyong](
- [id] [int] IDENTITY(1,1) NOT NULL,
- [name] [varchar](50) NULL,
- [money] [varchar](50) NULL,
- [dat] [varchar](50) NULL,
- [bz] [varchar](max) NULL,
- [renyuan1] [varchar](50) NULL,
- [renyuan2] [varchar](50) NULL,
- [financecheck] [nvarchar](10) NULL,
- [time] [nvarchar](50) NULL,
- [photo] [image] NULL,
- [financecheck2] [nvarchar](50) NULL,
- [financecheck3] [nvarchar](50) NULL,
- [hasphoto] [nvarchar](50) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[gudingfeiyongxiangmu] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[gudingfeiyongxiangmu](
- [id] [int] IDENTITY(1,1) NOT NULL,
- [xiangmu] [varchar](20) NULL,
- PRIMARY KEY CLUSTERED
- (
- [id] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[historydb] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[historydb](
- [year] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[hospital] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- CREATE TABLE [dbo].[hospital](
- [name] [nvarchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- /****** Object: Table [dbo].[hospitalclient] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- CREATE TABLE [dbo].[hospitalclient](
- [id] [nvarchar](50) NULL,
- [checkmsg] [nvarchar](50) NULL,
- [name1] [nvarchar](50) NULL,
- [name2] [nvarchar](50) NULL,
- [food] [nvarchar](50) NULL,
- [sex] [nvarchar](50) NULL,
- [check1] [nvarchar](50) NULL,
- [birthdaytype] [nvarchar](50) NULL,
- [birthday] [nvarchar](50) NULL,
- [pregnancydays] [nvarchar](50) NULL,
- [qq] [nvarchar](50) NULL,
- [date1] [nvarchar](50) NULL,
- [from] [nvarchar](50) NULL,
- [clerk] [nvarchar](50) NULL,
- [type] [nvarchar](50) NULL,
- [hospital] [nvarchar](50) NULL,
- [remark] [nvarchar](50) NULL,
- [phone1] [nvarchar](50) NULL,
- [phone2] [nvarchar](50) NULL,
- [phone3] [nvarchar](50) NULL,
- [phone4] [nvarchar](50) NULL,
- [phone5] [nvarchar](50) NULL,
- [addr1] [nvarchar](50) NULL,
- [addr2] [nvarchar](50) NULL,
- [addr3] [nvarchar](50) NULL,
- [post1] [nvarchar](50) NULL,
- [post2] [nvarchar](50) NULL,
- [post3] [nvarchar](50) NULL,
- [pinyin1] [nvarchar](50) NULL,
- [pinyin2] [nvarchar](50) NULL,
- [inputdate] [nvarchar](50) NULL,
- [inputer] [nvarchar](50) NULL
- ) ON [PRIMARY]
- GO
- /****** Object: Table [dbo].[hospitalclientcontactreg] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- CREATE TABLE [dbo].[hospitalclientcontactreg](
- [id] [nvarchar](50) NULL,
- [autoid] [int] IDENTITY(1,1) NOT NULL,
- [businesstype] [nvarchar](50) NULL,
- [businessintention] [nvarchar](50) NULL,
- [bookingdate] [nvarchar](50) NULL,
- [desaddr] [nvarchar](50) NULL,
- [businessremark] [nvarchar](50) NULL,
- [alarmcheck] [nvarchar](50) NULL,
- [alarmdate] [nvarchar](50) NULL
- ) ON [PRIMARY]
- GO
- /****** Object: Table [dbo].[insidemsg] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[insidemsg](
- [timestamp] [varchar](50) NULL,
- [content] [varchar](max) NULL,
- [sender] [varchar](50) NULL,
- [receiver] [varchar](max) NULL,
- [receiver2] [varchar](max) NULL,
- [file] [nvarchar](max) NULL,
- [files] [image] NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[jd] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[jd](
- [name] [varchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[jdd] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[jdd](
- [name] [varchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[log] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[log](
- [date] [varchar](50) NULL,
- [datetime] [varchar](50) NULL,
- [content] [varchar](max) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[loginsign] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[loginsign](
- [name] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [type] [varchar](50) NULL,
- [cleck] [varchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[loninbanset] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[loninbanset](
- [weekname] [varchar](50) NULL,
- [name] [varchar](50) NULL,
- [banname1] [varchar](50) NULL,
- [banname2] [varchar](50) NULL,
- [banname3] [varchar](50) NULL,
- [banname4] [varchar](50) NULL,
- [banname5] [varchar](50) NULL,
- [banname6] [varchar](50) NULL,
- [banname7] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[lonindata] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[lonindata](
- [no] [varchar](50) NULL,
- [datetime] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[lonintimeset] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[lonintimeset](
- [name] [varchar](50) NULL,
- [time1] [varchar](50) NULL,
- [time2] [varchar](50) NULL,
- [time3] [varchar](50) NULL,
- [time4] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[membercard2] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[membercard2](
- [memberno] [varchar](50) NULL,
- [card2no] [varchar](50) NULL,
- [date] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[membercard2blue] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[membercard2blue](
- [memberno] [varchar](50) NULL,
- [card2no] [varchar](50) NULL,
- [date] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[membercard3] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[membercard3](
- [memberno] [varchar](50) NULL,
- [card2no] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [balance] [varchar](50) NULL,
- [psw] [nvarchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[membercard3childusereg] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[membercard3childusereg](
- [memberno] [varchar](50) NULL,
- [dindanid] [varchar](50) NULL,
- [money] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[membercard3usereg] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[membercard3usereg](
- [memberno] [varchar](50) NULL,
- [dindanid] [varchar](50) NULL,
- [money] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[membermanage] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[membermanage](
- [memberno] [varchar](50) NULL,
- [name] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [money] [varchar](50) NULL,
- [autoid] [int] IDENTITY(1,1) NOT NULL,
- [sex] [varchar](50) NULL,
- [phone] [varchar](50) NULL,
- [qq] [varchar](50) NULL,
- [addr] [varchar](50) NULL,
- [occupation] [varchar](50) NULL,
- [birthday] [varchar](50) NULL,
- [pinyin] [varchar](50) NULL,
- [balance] [varchar](50) NULL,
- [sendmark1] [varchar](max) NULL,
- [sendmark2] [varchar](max) NULL,
- [psw] [nvarchar](50) NULL,
- [cardtype] [nvarchar](50) NULL,
- [check1] [nvarchar](50) NULL,
- [discount] [nvarchar](50) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[membermanageblue] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[membermanageblue](
- [memberno] [varchar](50) NULL,
- [name] [varchar](50) NULL,
- [sex] [varchar](50) NULL,
- [phone] [varchar](50) NULL,
- [qq] [varchar](50) NULL,
- [addr] [varchar](50) NULL,
- [occupation] [varchar](50) NULL,
- [birthday] [varchar](50) NULL,
- [pinyin] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [money] [varchar](50) NULL,
- [jiage] [varchar](50) NULL,
- [autoid] [int] IDENTITY(1,1) NOT NULL,
- [money2] [varchar](50) NULL,
- [money3] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[memberreg] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[memberreg](
- [memberno] [varchar](50) NULL,
- [dindanid] [varchar](50) NULL,
- [money] [varchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL,
- [date] [varchar](50) NULL,
- [card2no] [varchar](50) NULL,
- [type] [varchar](50) NULL,
- [taoxi] [varchar](50) NULL,
- [date2] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[memberreg2] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[memberreg2](
- [memberno] [varchar](50) NULL,
- [dindanid] [varchar](50) NULL,
- [money] [varchar](50) NULL,
- [point] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[memberreg2blue] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[memberreg2blue](
- [memberno] [varchar](50) NULL,
- [money] [varchar](50) NULL,
- [date] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[memberreg3] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[memberreg3](
- [memberno] [varchar](50) NULL,
- [money] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [clerk] [varchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL,
- [financecheck] [nvarchar](50) NULL,
- [moneytype] [nvarchar](50) NULL,
- [time] [nvarchar](50) NULL,
- [money2] [nvarchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[memberreg4] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[memberreg4](
- [memberno] [varchar](50) NULL,
- [money] [varchar](50) NULL,
- [card2no] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [clerk] [varchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[memberregblue] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[memberregblue](
- [memberno] [varchar](50) NULL,
- [dindanid] [varchar](50) NULL,
- [money] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [card2no] [varchar](50) NULL,
- [type] [varchar](50) NULL,
- [taoxi] [varchar](50) NULL,
- [date2] [varchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[misscallrecord] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[misscallrecord](
- [phone] [varchar](50) NULL,
- [datetime] [varchar](50) NULL,
- [name] [varchar](50) NULL,
- [type] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[msgcode] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- CREATE TABLE [dbo].[msgcode](
- [type] [nvarchar](50) NULL,
- [code] [nvarchar](50) NULL,
- [good] [nvarchar](50) NULL,
- [medium] [nvarchar](50) NULL,
- [bad] [nvarchar](50) NULL
- ) ON [PRIMARY]
- GO
- /****** Object: Table [dbo].[msgtemp] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[msgtemp](
- [title] [varchar](50) NULL,
- [content] [varchar](max) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[msgtemp2] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[msgtemp2](
- [name] [varchar](50) NULL,
- [content1] [varchar](max) NULL,
- [content2] [varchar](max) NULL,
- [check1] [varchar](50) NULL,
- [check2] [varchar](50) NULL,
- [point] [varchar](50) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[mywork] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[mywork](
- [id] [varchar](50) NULL,
- [name] [varchar](50) NULL,
- [datetime] [varchar](50) NULL,
- [count1] [varchar](50) NULL,
- [count2] [varchar](50) NULL,
- [count3] [varchar](50) NULL,
- [type] [varchar](50) NULL,
- [inputdate] [varchar](50) NULL,
- [inputren] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[Part] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[Part](
- [PartNO] [int] IDENTITY(1,1) NOT NULL,
- [ParentNO] [int] NULL,
- [PartName] [varchar](255) NULL,
- [AddDate] [datetime] NULL,
- [Del] [tinyint] NULL,
- [Disable] [tinyint] NULL,
- CONSTRAINT [PK_PART] PRIMARY KEY CLUSTERED
- (
- [PartNO] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[path] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[path](
- [path1] [varchar](50) NULL,
- [path2] [varchar](50) NULL,
- [path3] [varchar](50) NULL,
- [path4] [varchar](50) NULL,
- [path5] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[phonerecord] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[phonerecord](
- [id] [varchar](50) NULL,
- [phoneno] [varchar](50) NULL,
- [datetime] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[phonerecordout] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[phonerecordout](
- [name] [varchar](50) NULL,
- [phoneno] [varchar](50) NULL,
- [datetime] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[photoprint] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[photoprint](
- [id] [varchar](50) NULL,
- [name] [varchar](100) NULL,
- [count] [varchar](50) NULL,
- [status1] [varchar](50) NULL,
- [status2] [varchar](50) NULL,
- [time1] [varchar](50) NULL,
- [time2] [varchar](50) NULL,
- [area] [varchar](50) NULL,
- [statusOfReWork] [nvarchar](50) NULL,
- [timeOfReWork] [nvarchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[renyuan] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[renyuan](
- [bm] [varchar](50) NULL,
- [id] [varchar](50) NULL,
- [name] [varchar](50) NULL,
- [sex] [varchar](50) NULL,
- [phone] [varchar](50) NULL,
- [address] [varchar](50) NULL,
- [bz] [varchar](max) NULL,
- [base] [varchar](50) NULL,
- [rate1] [varchar](50) NULL,
- [rate2] [varchar](50) NULL,
- [bz2] [varchar](max) NULL,
- [address2] [varchar](50) NULL,
- [idno] [varchar](50) NULL,
- [marry] [varchar](50) NULL,
- [dimission] [varchar](50) NULL,
- [rate3] [varchar](50) NULL,
- [rate4] [varchar](50) NULL,
- [rate5] [varchar](50) NULL,
- [loginno1] [varchar](50) NULL,
- [loginno2] [varchar](50) NULL,
- [photo] [image] NULL,
- [level] [nvarchar](50) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[rewards] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[rewards](
- [name] [varchar](50) NULL,
- [type] [varchar](50) NULL,
- [money] [varchar](50) NULL,
- [execute] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [renyuan] [varchar](50) NULL,
- [bz] [varchar](max) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[salary] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[salary](
- [name] [varchar](50) NULL,
- [year] [varchar](50) NULL,
- [month] [varchar](50) NULL,
- [money] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[sale2type] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- CREATE TABLE [dbo].[sale2type](
- [name] [nvarchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- /****** Object: Table [dbo].[sendreg] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[sendreg](
- [timestamp] [varchar](50) NULL,
- [msgcount] [varchar](50) NULL,
- [log] [varchar](50) NULL,
- [status] [varchar](50) NULL,
- [issended] [varchar](50) NULL,
- [isautosend] [varchar](50) NULL,
- [phones] [varchar](max) NULL,
- [content] [varchar](max) NULL,
- [autoid] [int] IDENTITY(1,1) NOT NULL,
- [ren] [varchar](50) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[sendreg2] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[sendreg2](
- [price] [varchar](50) NULL,
- [yytime] [varchar](50) NULL,
- [client] [varchar](50) NULL,
- [type] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [phones] [varchar](max) NULL,
- [content] [varchar](max) NULL,
- [autoid] [int] IDENTITY(1,1) NOT NULL,
- [ren] [varchar](50) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[sendregcard] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[sendregcard](
- [timestamp] [varchar](50) NULL,
- [phones] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[sendregdelay] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- CREATE TABLE [dbo].[sendregdelay](
- [timestamp] [nvarchar](50) NULL,
- [msgcount] [nvarchar](50) NULL,
- [log] [nvarchar](50) NULL,
- [status] [nvarchar](50) NULL,
- [issended] [nvarchar](50) NULL,
- [isautosend] [nvarchar](50) NULL,
- [phones] [nvarchar](max) NULL,
- [content] [nvarchar](max) NULL,
- [autoid] [int] IDENTITY(1,1) NOT NULL,
- [ren] [nvarchar](50) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- /****** Object: Table [dbo].[sendregreceive] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[sendregreceive](
- [timestamp] [varchar](50) NULL,
- [phones] [varchar](200) NULL,
- [content] [varchar](200) NULL,
- [status] [varchar](200) NULL,
- [getid] [nvarchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[shangpin] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[shangpin](
- [spid] [nvarchar](50) NOT NULL,
- [spname] [varchar](50) NULL,
- [spdanwei] [varchar](50) NULL,
- [spjiaga1] [varchar](50) NULL,
- [spjiage2] [varchar](50) NULL,
- [splb] [varchar](50) NULL,
- [spbz] [varchar](max) NULL,
- [spjiage3] [varchar](50) NULL,
- [hide] [nvarchar](10) NULL,
- CONSTRAINT [PK_shangpin] PRIMARY KEY CLUSTERED
- (
- [spid] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[shangpinlb] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[shangpinlb](
- [id] [int] IDENTITY(1,1) NOT NULL,
- [name] [varchar](50) NULL,
- PRIMARY KEY CLUSTERED
- (
- [id] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[singleincome] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[singleincome](
- [id] [int] IDENTITY(1,1) NOT NULL,
- [name] [varchar](50) NULL,
- [money] [varchar](50) NULL,
- [dat] [varchar](50) NULL,
- [bz] [varchar](max) NULL,
- [renyuan1] [varchar](50) NULL,
- [renyuan2] [varchar](50) NULL,
- [renyuan3] [varchar](50) NULL,
- [sale2type] [varchar](50) NULL,
- [paytype] [varchar](50) NULL,
- [phone] [nvarchar](50) NULL,
- [payed] [nvarchar](50) NULL,
- [balance] [nvarchar](50) NULL,
- [pinyin] [nvarchar](50) NULL,
- [financecheck] [nvarchar](10) NULL,
- [count] [nvarchar](50) NULL,
- [time] [nvarchar](50) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[singleincomemoney] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- CREATE TABLE [dbo].[singleincomemoney](
- [id] [nvarchar](50) NULL,
- [money] [nvarchar](50) NULL,
- [date] [nvarchar](50) NULL,
- [clerk] [nvarchar](50) NULL,
- [paytype] [nvarchar](50) NULL,
- [autoid] [int] IDENTITY(1,1) NOT NULL,
- [financecheck] [nvarchar](10) NULL,
- [time] [nvarchar](50) NULL,
- [jdd] [nvarchar](50) NULL
- ) ON [PRIMARY]
- GO
- /****** Object: Table [dbo].[storeinfo] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[storeinfo](
- [id] [varchar](50) NULL,
- [type] [varchar](50) NULL,
- [name] [varchar](50) NULL,
- [count] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [clerk] [varchar](50) NULL,
- [remark] [varchar](max) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[storeinfo2] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[storeinfo2](
- [id] [varchar](50) NULL,
- [type] [varchar](50) NULL,
- [name] [varchar](50) NULL,
- [count] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [clerk] [varchar](50) NULL,
- [remark] [varchar](max) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[taoxi] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[taoxi](
- [taoxiid] [nvarchar](50) NULL,
- [taoxiname] [varchar](20) NULL,
- [taoxijiage] [varchar](9) NULL,
- [zs] [nvarchar](50) NULL,
- [type] [nvarchar](50) NULL,
- [show] [nvarchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[taoxifg] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[taoxifg](
- [name] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[taoxishangpin1] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[taoxishangpin1](
- [id] [int] IDENTITY(1,1) NOT NULL,
- [taoxiid] [varchar](20) NULL,
- [spid1] [varchar](15) NULL,
- [shuliang] [varchar](15) NULL,
- PRIMARY KEY CLUSTERED
- (
- [id] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[taoxishangpin2] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[taoxishangpin2](
- [id] [int] IDENTITY(1,1) NOT NULL,
- [taoxiid] [varchar](15) NULL,
- [spid2] [varchar](15) NULL,
- [shuliang] [varchar](15) NULL,
- PRIMARY KEY CLUSTERED
- (
- [id] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[todaytake] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[todaytake](
- [name] [varchar](50) NULL,
- [phone] [varchar](50) NULL,
- [date] [varchar](50) NULL,
- [time] [varchar](50) NULL,
- [type] [varchar](50) NULL,
- [price] [varchar](50) NULL,
- [waiter1] [varchar](50) NULL,
- [waiter2] [varchar](50) NULL,
- [receptionist] [varchar](50) NULL,
- [arrearage] [varchar](50) NULL,
- [clerk] [varchar](50) NULL,
- [remark] [varchar](max) NULL,
- [timestamp] [varchar](50) NULL,
- [content] [varchar](50) NULL,
- [mode] [varchar](50) NULL,
- [arrive] [varchar](50) NULL,
- [id] [varchar](50) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[txlb] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[txlb](
- [name] [varchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[txlb2] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- CREATE TABLE [dbo].[txlb2](
- [name] [nvarchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- /****** Object: Table [dbo].[unknownphonerecord] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[unknownphonerecord](
- [phone] [varchar](50) NULL,
- [datetime] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[unknownphonerecordout] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[unknownphonerecordout](
- [phoneno] [varchar](50) NULL,
- [datetime] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[update] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- CREATE TABLE [dbo].[update](
- [data] [image] NULL,
- [data2] [image] NULL,
- [data3] [image] NULL,
- [data4] [image] NULL,
- [data5] [image] NULL,
- [data6] [image] NULL,
- [data7] [image] NULL,
- [ocx] [image] NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- /****** Object: Table [dbo].[user] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[user](
- [account] [varchar](50) NULL,
- [name] [varchar](50) NULL,
- [psw] [varchar](50) NULL,
- [rights] [nvarchar](80) NULL,
- [rate1] [varchar](50) NULL,
- [rate2] [varchar](50) NULL,
- [base] [varchar](50) NULL,
- [bz] [varchar](max) NULL,
- [rights2] [varchar](max) NULL,
- [discount] [varchar](50) NULL,
- [discount2] [varchar](50) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[version] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[version](
- [version] [varchar](50) NULL,
- [curdate] [varchar](50) NULL,
- [check1] [varchar](50) NULL,
- [check2] [varchar](50) NULL,
- [check3] [varchar](50) NULL,
- [check4] [varchar](50) NULL,
- [edit1] [varchar](50) NULL,
- [edit2] [varchar](50) NULL,
- [edit3] [varchar](50) NULL,
- [edit4] [varchar](50) NULL,
- [info1] [varchar](50) NULL,
- [info2] [varchar](50) NULL,
- [info3] [varchar](50) NULL,
- [info4] [varchar](50) NULL,
- [info5] [varchar](50) NULL,
- [bak1] [varchar](50) NULL,
- [bak2] [varchar](50) NULL,
- [bak3] [varchar](50) NULL,
- [bak4] [varchar](50) NULL,
- [bak5] [varchar](50) NULL,
- [bak6] [varchar](50) NULL,
- [baktime] [varchar](50) NULL,
- [bakserver1] [varchar](50) NULL,
- [bakserver2] [varchar](50) NULL,
- [bakserver3] [varchar](50) NULL,
- [bakserver4] [varchar](50) NULL,
- [bakserver5] [varchar](50) NULL,
- [msgaccount] [varchar](50) NULL,
- [msgpsw] [varchar](50) NULL,
- [msgused] [varchar](50) NULL,
- [msgbalance] [varchar](50) NULL,
- [msgcheck1] [varchar](50) NULL,
- [msgcheck2] [varchar](50) NULL,
- [msgdays1] [varchar](50) NULL,
- [msgdays2] [varchar](50) NULL,
- [msgcontent1] [nvarchar](max) NULL,
- [msgcontent2] [nvarchar](max) NULL,
- [remarks] [varchar](max) NULL,
- [rate] [varchar](50) NULL,
- [msgcheck3] [varchar](50) NULL,
- [msgcontent3] [nvarchar](max) NULL,
- [salarycheck1] [varchar](50) NULL,
- [salarycheck2] [varchar](50) NULL,
- [msgcheck4] [varchar](50) NULL,
- [msgtime] [varchar](50) NULL,
- [msgphones] [varchar](max) NULL,
- [info6] [varchar](50) NULL,
- [msgcompanyname] [varchar](50) NULL,
- [msgphones2] [varchar](max) NULL,
- [msgsendtype] [varchar](50) NULL,
- [msgcontent5] [varchar](max) NULL,
- [msgcheck5] [varchar](50) NULL,
- [msgcontent6] [varchar](max) NULL,
- [msgcheck6] [varchar](50) NULL,
- [cardlength] [varchar](50) NULL,
- [salarycheck3] [varchar](50) NULL,
- [salarycheck4] [varchar](50) NULL,
- [setcheck1] [varchar](50) NULL,
- [setcheck2] [varchar](50) NULL,
- [setcheck3] [varchar](50) NULL,
- [setcheck4] [varchar](50) NULL,
- [setcheck5] [varchar](50) NULL,
- [printer1] [varchar](50) NULL,
- [printer2] [varchar](50) NULL,
- [printer3] [varchar](50) NULL,
- [setprintstyle] [varchar](50) NULL,
- [uploadcheck1] [varchar](50) NULL,
- [uploadcheck2] [varchar](50) NULL,
- [uploadcheck3] [varchar](50) NULL,
- [uploadcheck4] [varchar](50) NULL,
- [bak11] [varchar](50) NULL,
- [bak22] [varchar](50) NULL,
- [bak33] [varchar](50) NULL,
- [bak44] [varchar](50) NULL,
- [setprintstyle2] [varchar](50) NULL,
- [setcheck10] [varchar](50) NULL,
- [ziptype1] [varchar](50) NULL,
- [ziptype2] [varchar](50) NULL,
- [ziptype3] [varchar](50) NULL,
- [ziptype4] [varchar](50) NULL,
- [salaryset] [varchar](max) NULL,
- [limitcount1] [varchar](50) NULL,
- [limitcount2] [varchar](50) NULL,
- [limitcount3] [varchar](50) NULL,
- [rate2] [varchar](50) NULL,
- [setcheck11] [varchar](50) NULL,
- [setcheck12] [varchar](50) NULL,
- [setprintstyle3] [varchar](50) NULL,
- [msgcheck7] [varchar](50) NULL,
- [msgcheck8] [varchar](50) NULL,
- [msgcheck9] [varchar](50) NULL,
- [msgcheck10] [varchar](50) NULL,
- [msgcontent8] [varchar](max) NULL,
- [msgcontent9] [varchar](max) NULL,
- [msgcontent10] [varchar](max) NULL,
- [setcheck13] [varchar](50) NULL,
- [time1] [varchar](50) NULL,
- [time2] [varchar](50) NULL,
- [time3] [varchar](50) NULL,
- [setcheck14] [varchar](50) NULL,
- [setcheck15] [varchar](50) NULL,
- [msgcheck11] [varchar](50) NULL,
- [msgcheck12] [varchar](50) NULL,
- [msgcheck13] [varchar](50) NULL,
- [msgcheck14] [varchar](50) NULL,
- [msgcontent11] [varchar](max) NULL,
- [msgcontent12] [varchar](max) NULL,
- [msgcontent13] [varchar](max) NULL,
- [msgcontent14] [varchar](max) NULL,
- [setcheck6] [varchar](50) NULL,
- [msgcheck15] [varchar](50) NULL,
- [msgcontent15] [varchar](max) NULL,
- [logdays] [varchar](50) NULL,
- [setcheck17] [varchar](50) NULL,
- [setcheck18] [varchar](50) NULL,
- [setcheck19] [varchar](50) NULL,
- [uploadrule] [varchar](max) NULL,
- [setcheck20] [varchar](50) NULL,
- [cardnum] [nvarchar](50) NULL,
- [cardscale] [nvarchar](500) NULL,
- [info7] [nvarchar](120) NULL,
- [setcheck21] [nvarchar](50) NULL,
- [msgcheck16] [nvarchar](50) NULL,
- [hospitalmsgcheck1] [nvarchar](50) NULL,
- [hospitalmsgcheck2] [nvarchar](50) NULL,
- [serialno] [nvarchar](50) NULL,
- [serialno2] [nvarchar](50) NULL,
- [msgcheck17] [nvarchar](50) NULL,
- [msgcontent17] [nvarchar](max) NULL,
- [setcheck22] [nvarchar](50) NULL,
- [setcheck23] [nvarchar](50) NULL,
- [info8] [nvarchar](120) NULL,
- [setcheck24] [nvarchar](120) NULL,
- [outtime] [nvarchar](120) NULL,
- [info9] [nvarchar](120) NULL,
- [reverse1] [nvarchar](50) NULL,
- [reverse2] [nvarchar](50) NULL,
- [reverse3] [nvarchar](50) NULL,
- [reverse4] [nvarchar](50) NULL,
- [reverse5] [nvarchar](50) NULL,
- [photo] [image] NULL,
- [delcheck1] [nvarchar](50) NULL,
- [delcheck2] [nvarchar](50) NULL,
- [delcheck3] [nvarchar](50) NULL,
- [delcheck4] [nvarchar](50) NULL,
- [deledit1] [nvarchar](50) NULL,
- [deledit2] [nvarchar](50) NULL,
- [deledit3] [nvarchar](50) NULL,
- [deledit4] [nvarchar](50) NULL,
- [alarmdays1] [nvarchar](50) NULL,
- [alarmdays2] [nvarchar](50) NULL,
- [alarmdays3] [nvarchar](50) NULL,
- [alarmdays4] [nvarchar](50) NULL,
- [alarmdays5] [nvarchar](50) NULL,
- [alarmdays6] [nvarchar](50) NULL
- ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[workrate] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[workrate](
- [type] [varchar](50) NULL,
- [data1] [varchar](50) NULL,
- [data2] [varchar](50) NULL,
- [data3] [varchar](50) NULL,
- [data4] [varchar](50) NULL,
- [data5] [varchar](50) NULL,
- [data6] [varchar](50) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[worktype] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[worktype](
- [name] [varchar](50) NULL,
- [id] [int] IDENTITY(1,1) NOT NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: Table [dbo].[xtcs] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- SET ANSI_PADDING ON
- GO
- CREATE TABLE [dbo].[xtcs](
- [csm] [varchar](256) NULL,
- [csz] [varchar](256) NULL,
- [bz] [varchar](256) NULL
- ) ON [PRIMARY]
- GO
- SET ANSI_PADDING OFF
- GO
- /****** Object: View [dbo].[accountview] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- create view [dbo].[accountview] as select dbo.[user].account, dbo.[user].name, dbo.[user].psw, dbo.[user].rights, dbo.[user].rate1, dbo.[user].rate2,dbo.[user].base, dbo.[user].bz, dbo.[user].rights2,dbo.[user].discount, dbo.[user].discount2, dbo.renyuan.dimission, dbo.renyuan.[level],dbo.renyuan.bm from dbo.[user] LEFT OUTER JOIN dbo.renyuan ON dbo.[user].name = dbo.renyuan.name
- GO
- /****** Object: View [dbo].[alarmview] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- create view [dbo].[alarmview] as select dbo.dindan.id, dbo.dindan.name1, dbo.dindan.name2,dbo.dindan.ren,dbo.dindan.time1,dindan.time2,dindan.time4,dbo.dindan.status,dbo.dindan.status2,dbo.dindan.status8,dbo.dindan.phone1,dbo.dindan.phone2,dbo.dindan.pinyin1,dbo.dindan.pinyin2,(SELECT count(*) FROM dbo.dindansp WHERE (kind<>'2' and name<>'入册' and name<>'入底' and status1 = '未完成') AND (id = dbo.dindan.id)) AS cot1,(SELECT count(*) FROM dbo.dindansp WHERE (kind<>'2' and name<>'入册' and name<>'入底' and status2 = '未取') AND (id = dbo.dindan.id)) AS cot2 FROM dbo.dindan
- GO
- /****** Object: View [dbo].[digitalview] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- CREATE VIEW [dbo].[digitalview] AS SELECT id, name1, name2, taoxiname, taoxijiage, waiter5, time8, waiter7, time9, waiter4, time10, status4, status6, status5, txtype, (SELECT SUM(CAST(money AS float)) AS Expr1 FROM dbo.dindanbukuan WHERE (bz = '选片二销') AND (id = dbo.dindan.id)) AS money2, (SELECT SUM(CONVERT(float, ps)) AS Expr2 FROM dbo.dindansp WHERE (id = dbo.dindan.id)) AS ps, (SELECT SUM(CONVERT(float, zs)) AS Expr3 FROM dbo.dindansp AS dindansp_1 WHERE (id = dbo.dindan.id)) AS zs FROM dbo.dindan
- GO
- /****** Object: View [dbo].[dindanbukuanview] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- create view [dbo].[dindanbukuanview] as select dbo.dindan.name1, dbo.dindan.name2, dbo.dindan.txtype, dbo.dindan.taoxiname,dbo.dindanbukuan.money, dbo.dindanbukuan.date, dbo.dindanbukuan.kind, dbo.dindanbukuan.ren,dbo.dindanbukuan.bz, dbo.dindanbukuan.id,dbo.dindanbukuan.paytype from dbo.dindan INNER JOIN dbo.dindanbukuan ON dbo.dindan.id = dbo.dindanbukuan.id
- GO
- /****** Object: View [dbo].[dindanbukuanview2] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- create view [dbo].[dindanbukuanview2] as select dbo.dindan.name1, dbo.dindan.name2, dbo.dindanbukuan.autoid, dbo.dindanbukuan.id,dbo.dindanbukuan.money, dbo.dindanbukuan.ren, dbo.dindanbukuan.date, dbo.dindanbukuan.bz, dbo.dindanbukuan.kind,dbo.dindanbukuan.ren2, dbo.dindanbukuan.item, dbo.dindanbukuan.paytype, dbo.dindanbukuan.jdd, dbo.dindanbukuan.financecheck,dbo.dindanbukuan.discount, dbo.dindanbukuan.time from dbo.dindanbukuan INNER JOIN dbo.dindan ON dbo.dindanbukuan.id = dbo.dindan.id
- GO
- /****** Object: View [dbo].[dindanclient] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- create view [dbo].[dindanclient] as select dbo.dindan.id, dbo.client.id AS Expr1, dbo.client.name1, dbo.client.name2,dbo.client.phone1, dbo.client.phone2, dbo.client.birthday1, dbo.client.birthday2,dbo.client.check1, dbo.client.check2, dbo.client.check3, dbo.dindan.time3, dbo.dindan.time1,dbo.dindan.taoxiname, dbo.dindan.taoxijiage, dbo.dindan.payed4 from dbo.dindan INNER JOIN dbo.client ON dbo.dindan.id = dbo.client.id
- GO
- /****** Object: View [dbo].[dindanspview] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- create view [dbo].[dindanspview] as select dbo.dindan.id, dbo.dindan.name1,dbo.dindan.name2, dbo.dindan.status5,dbo.dindan.waiter4,dbo.dindan.urgent, dbo.dindan.time5, dbo.dindan.ren, dbo.dindan.phone1,dbo.dindan.phone2,dbo.dindan.pinyin1,dbo.dindan.pinyin2, dbo.dindan.taoxijiage, dbo.dindan.payed4, dbo.dindan.payed5, dbo.dindan.money1,dbo.dindan.status3,dbo.dindan.dindantype, dbo.dindansp.name, dbo.dindansp.status3 as status32,dbo.dindansp.status4, dbo.dindansp.status5 AS status52, dbo.dindansp.status6, dbo.dindansp.status1,dbo.dindansp.status2, dbo.dindansp.urgent as urgent2, dbo.dindansp.date4, dbo.dindansp.kind from dbo.dindan INNER JOIN dbo.dindansp ON dbo.dindan.id = dbo.dindansp.id
- GO
- /****** Object: View [dbo].[dindanspview2] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- create view [dbo].[dindanspview2] as select dbo.shangpin.splb, dbo.dindansp.id, dbo.dindansp.spid, dbo.dindansp.shuliang, dbo.dindansp.kind, dbo.dindansp.price, dbo.dindansp.name, dbo.dindansp.no,dbo.dindansp.status1, dbo.dindansp.status2, dbo.dindansp.status3, dbo.dindansp.status4,dbo.dindansp.autoid, dbo.dindansp.date1, dbo.dindansp.date2,dbo.dindansp.date3, dbo.dindansp.date4, dbo.dindansp.name1,dbo.dindansp.name2,dbo.dindansp.name3, dbo.dindansp.name4, dbo.dindansp.hqdate,dbo.dindansp.hqtime, dbo.dindansp.urgent, dbo.dindansp.taketime, dbo.dindansp.no2,dbo.dindansp.status5, dbo.dindansp.status6, dbo.dindansp.date5,dbo.dindansp.date6, dbo.dindansp.name5, dbo.dindansp.name6,dbo.dindansp.growthtxname,dbo.dindansp.ps, dbo.dindansp.zs, dbo.dindansp.ren1,dbo.dindansp.ren2 from dbo.dindansp LEFT OUTER JOIN dbo.shangpin ON dbo.dindansp.spid = dbo.shangpin.spid
- GO
- /****** Object: View [dbo].[dindanspview3] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- create view [dbo].[dindanspview3] as select dbo.dindan.id, dbo.dindan.name1, dbo.dindan.name2, dbo.dindan.ren, dbo.dindan.taoxijiage, dbo.dindan.payed4, dbo.dindansp.name, dbo.dindansp.shuliang,dbo.dindan.time1 from dbo.dindan INNER JOIN dbo.dindansp ON dbo.dindan.id = dbo.dindansp.id
- GO
- /****** Object: View [dbo].[dindanspview4] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- create view [dbo].[dindanspview4] as select dbo.dindan.id, dbo.dindan.name1, dbo.dindan.name2, dbo.dindan.ren, dbo.dindan.taoxijiage, dbo.dindan.payed4,dbo.dindanbukuan2.bz AS name, 1 AS shuliang,dbo.dindan.time1 from dbo.dindan INNER JOIN dbo.dindanbukuan2 ON dbo.dindan.id = dbo.dindanbukuan2.id
- GO
- /****** Object: View [dbo].[dindanview] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- create view [dbo].[dindanview] as select *,(SELECT (case when exists(SELECT id FROM dbo.dindansp WHERE id = dbo.dindan.id and kind<>'5' and name<>'入册' and name<>'入底' and status1<>'OK') then '未完成' else 'OK' end)) AS STA from dbo.dindan
- GO
- /****** Object: View [dbo].[dressview] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- create view [dbo].[dressview] as select dbo.dressinfo.no, dbo.dressinfo.name, dbo.dressinfo.count, dbo.dressinfo.salecount,dbo.dresshiredata.count AS count2, dbo.dresshiredata.isreturn,dbo.dresshiredata.hireorsale, dbo.dresshiredata.date1, dbo.dresshiredata.date2,dbo.dresshire.name AS clientname, dbo.dresshire.phone, dbo.dresshire.clerk,dbo.dresshire.date from dbo.dresshire INNER JOIN dbo.dresshiredata ON dbo.dresshire.id = dbo.dresshiredata.id RIGHT OUTER JOIN dbo.dressinfo ON dbo.dresshiredata.no = dbo.dressinfo.no
- GO
- /****** Object: View [dbo].[hospitalview] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- create view [dbo].[hospitalview] as select dbo.hospitalclient.id, dbo.hospitalclient.name1, dbo.hospitalclient.name2, dbo.hospitalclient.sex,'birthdaytype' = CASE hospitalclient.birthdaytype WHEN '1' THEN '预产期' ELSE '宝宝生日' END,dbo.hospitalclient.birthday,dbo.hospitalclient.[from], dbo.hospitalclient.phone1, dbo.hospitalclient.phone2, dbo.hospitalclient.qq, dbo.hospitalclient.inputdate, dbo.hospitalclient.inputer,dbo.hospitalclient.pinyin1, dbo.hospitalclient.pinyin2,dbo.hospitalclientcontactreg.businesstype, dbo.hospitalclientcontactreg.businessintention, dbo.hospitalclientcontactreg.bookingdate,dbo.hospitalclientcontactreg.desaddr, dbo.hospitalclientcontactreg.businessremark, dbo.hospitalclient.addr1, dbo.hospitalclient.addr2, dbo.hospitalclient.addr3,dbo.hospitalclient.type, dbo.hospitalclient.hospital, dbo.hospitalclient.clerk, dbo.hospitalclientcontactreg.alarmcheck,dbo.hospitalclientcontactreg.alarmdate from dbo.hospitalclient LEFT OUTER JOIN dbo.hospitalclientcontactreg ON dbo.hospitalclient.id = dbo.hospitalclientcontactreg.id
- GO
- /****** Object: View [dbo].[hqview] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- create view [dbo].[hqview] as select dbo.dindan.id, dbo.dindan.name1, dbo.dindan.name2, dbo.dindan.phone1, dbo.dindan.phone2,dbo.dindan.time3, dbo.client.check3, dbo.dindan.ren,dbo.dindan.taoxiname, dbo.dindan.taoxijiage, dbo.dindansp.name, dbo.dindansp.hqdate,dbo.dindansp.hqtime,dbo.dindansp.ren1, dbo.dindansp.ren2, dbo.dindansp.kind,dbo.dindansp.hqstatus,dbo.dindansp.bz from dbo.dindan INNER JOIN dbo.client ON dbo.dindan.id = dbo.client.id INNER JOIN dbo.dindansp ON dbo.client.id = dbo.dindansp.id
- GO
- /****** Object: View [dbo].[memberview] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- create view [dbo].[memberview] as select dbo.membermanage.name, dbo.memberreg3.memberno, dbo.memberreg3.money, dbo.memberreg3.date,dbo.memberreg3.clerk, dbo.memberreg3.id, dbo.memberreg3.financecheck, dbo.memberreg3.moneytype, dbo.memberreg3.time from dbo.memberreg3 INNER JOIN dbo.membermanage ON dbo.memberreg3.memberno = dbo.membermanage.memberno
- GO
- /****** Object: View [dbo].[memberview2] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- create view [dbo].[memberview2] as select dbo.membermanage.memberno, dbo.membermanage.name, dbo.membermanage.date,dbo.membermanage.money, dbo.membermanage.autoid,dbo.membermanage.sex, dbo.membermanage.phone, dbo.membermanage.qq,dbo.membermanage.addr, dbo.membermanage.occupation,dbo.membermanage.birthday, dbo.membermanage.pinyin, dbo.membermanage.balance,dbo.membermanage.sendmark1, dbo.membermanage.sendmark2,dbo.membermanage.psw, dbo.membermanage.cardtype,dbo.membermanage.check1,dbo.membermanage.discount, dbo.membercard2.card2no,dbo.membercard2.date AS card2date from dbo.membermanage LEFT OUTER JOIN dbo.membercard2 ON dbo.membermanage.memberno = dbo.membercard2.memberno
- GO
- /****** Object: View [dbo].[memberview3] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- create view [dbo].[memberview3] as select dbo.membermanage.memberno, dbo.membermanage.name, dbo.membermanage.date,dbo.membermanage.money, dbo.membermanage.autoid,dbo.membermanage.sex, dbo.membermanage.phone, dbo.membermanage.qq,dbo.membermanage.addr, dbo.membermanage.occupation,dbo.membermanage.birthday, dbo.membermanage.pinyin, dbo.membermanage.balance,dbo.membermanage.sendmark1, dbo.membermanage.sendmark2,dbo.membermanage.psw, dbo.membermanage.cardtype,dbo.membermanage.check1, dbo.membermanage.discount, dbo.memberreg.card2no, dbo.memberreg.date2,dbo.memberreg.dindanid, dbo.memberreg.taoxi,dbo.memberreg.money AS card2money, dbo.memberreg.date as card2date, dbo.memberreg.type from dbo.membermanage LEFT OUTER JOIN dbo.memberreg ON dbo.membermanage.memberno = dbo.memberreg.memberno
- GO
- /****** Object: View [dbo].[msgview] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- create view [dbo].[msgview] as select dbo.sendregreceive.phones, dbo.dindan.id, dbo.dindan.name1, dbo.dindan.name2, dbo.sendregreceive.[content],dbo.sendregreceive.timestamp, dbo.dindan.time1,dbo.dindan.ren, dbo.dindan.waiter1, dbo.dindan.waiter2, dbo.dindan.waiter4,dbo.dindan.waiter5, dbo.dindan.waiter7, dbo.dindan.waiter3 from dbo.sendregreceive LEFT JOIN dbo.dindan ON dbo.sendregreceive.phones = dbo.dindan.phone1 OR dbo.sendregreceive.phones = dbo.dindan.phone2
- GO
- /****** Object: View [dbo].[photoprintview] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- create view [dbo].[photoprintview] AS SELECT dbo.dindan.id, dbo.dindan.name1, dbo.dindan.name2, dbo.dindan.ren, dbo.dindan.waiter4, dbo.photoprint.name, dbo.photoprint.count, dbo.photoprint.status1, dbo.photoprint.status2, dbo.photoprint.time1, dbo.photoprint.time2, dbo.photoprint.statusOfReWork,dbo.photoprint.timeOfReWork,dbo.photoprint.area, dbo.dindan.status5, dbo.dindan.urgent, dbo.dindan.time5, dbo.dindan.phone1, dbo.dindan.phone2, dbo.dindan.pinyin1, dbo.dindan.pinyin2, dbo.dindan.status3, dbo.dindan.dindantype FROM dbo.dindan LEFT OUTER JOIN dbo.photoprint ON dbo.dindan.id = dbo.photoprint.id
- GO
- /****** Object: View [dbo].[qjview] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- create view [dbo].[qjview] as select dbo.dindan.id, dbo.dindan.name2, dbo.dindan.name1, dbo.dindansp.name,dbo.dindansp.shuliang, dbo.dindansp.status4, dbo.dindansp.date2, dbo.dindansp.status1,dbo.dindansp.date3, dbo.dindansp.status3 from dbo.dindan INNER JOIN dbo.dindansp ON dbo.dindan.id = dbo.dindansp.id
- GO
- /****** Object: View [dbo].[singleincomemoneyview] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- create view [dbo].[singleincomemoneyview] as select dbo.singleincomemoney.*, dbo.singleincome.name, dbo.singleincome.sale2type,dbo.singleincome.renyuan3, dbo.singleincome.renyuan1 from dbo.singleincomemoney INNER JOIN dbo.singleincome ON dbo.singleincomemoney.id = dbo.singleincome.id
- GO
- /****** Object: View [dbo].[takeview] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- create view [dbo].[takeview] as select dbo.dindan.name1, dbo.dindan.name2, dbo.dindan.ren, dbo.dindan.taoxiname, dbo.dindan.taoxijiage, dbo.dindan.phone1,dbo.dindan.phone2, dbo.dindan.curno, dbo.dindan.pinyin1,dbo.dindan.pinyin2, dbo.dindan.time3, dbo.dindan.time5, dbo.dindan.dindantype, dbo.dindanjd.id,dbo.dindanjd.name, dbo.dindanjd.date, dbo.dindanjd.time,dbo.dindanjd.waiter1, dbo.dindanjd.waiter2, dbo.dindanjd.status, dbo.dindanjd.waiter12,dbo.dindanjd.waiter22, dbo.dindanjd.bookingdate, dbo.dindanjd.dress,dbo.dindanjd.bz, dbo.dindanjd.clerk, dbo.dindanjd.inputtime, dbo.dindanjd.branch,dbo.dindan.status3, dbo.dindan.payed4, dbo.dindan.payed5, dbo.dindan.money1, dbo.client.birthday1, dbo.client.check1, dbo.client.sex from dbo.dindan INNER JOIN dbo.dindanjd ON dbo.dindan.id = dbo.dindanjd.id INNER JOIN dbo.client ON dbo.dindan.id = dbo.client.id
- GO
- /****** Object: View [dbo].[taoxishangpinview] Script Date: 2014/10/30 11:22:13 ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- CREATE VIEW [dbo].[taoxishangpinview]
- AS
- SELECT dbo.taoxishangpin1.id,dbo.taoxishangpin1.spid1,dbo.shangpin.spname, dbo.shangpin.spjiaga1, dbo.taoxishangpin1.taoxiid,dbo.taoxishangpin1.shuliang
- FROM dbo.taoxi INNER JOIN
- dbo.taoxishangpin1 ON dbo.taoxi.taoxiid = dbo.taoxishangpin1.taoxiid INNER JOIN
- dbo.shangpin ON dbo.taoxishangpin1.spid1 = dbo.shangpin.spid
- GO
- /****** Object: Index [id] Script Date: 2014/10/30 11:22:13 ******/
- CREATE NONCLUSTERED INDEX [id] ON [dbo].[bumen]
- (
- [id] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- SET ANSI_PADDING ON
- GO
- /****** Object: Index [id] Script Date: 2014/10/30 11:22:13 ******/
- CREATE UNIQUE NONCLUSTERED INDEX [id] ON [dbo].[client]
- (
- [id] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- SET ANSI_PADDING ON
- GO
- /****** Object: Index [id] Script Date: 2014/10/30 11:22:13 ******/
- CREATE UNIQUE NONCLUSTERED INDEX [id] ON [dbo].[dindan]
- (
- [id] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- SET ANSI_PADDING ON
- GO
- /****** Object: Index [taoxiid] Script Date: 2014/10/30 11:22:13 ******/
- CREATE NONCLUSTERED INDEX [taoxiid] ON [dbo].[dindan]
- (
- [taoxiid] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- /****** Object: Index [autoid] Script Date: 2014/10/30 11:22:13 ******/
- CREATE UNIQUE NONCLUSTERED INDEX [autoid] ON [dbo].[dindanbukuan]
- (
- [autoid] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- SET ANSI_PADDING ON
- GO
- /****** Object: Index [id] Script Date: 2014/10/30 11:22:13 ******/
- CREATE NONCLUSTERED INDEX [id] ON [dbo].[dindanbukuan]
- (
- [id] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- /****** Object: Index [autoid] Script Date: 2014/10/30 11:22:13 ******/
- CREATE UNIQUE NONCLUSTERED INDEX [autoid] ON [dbo].[dindanbukuan2]
- (
- [autoid] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- SET ANSI_PADDING ON
- GO
- /****** Object: Index [id] Script Date: 2014/10/30 11:22:13 ******/
- CREATE NONCLUSTERED INDEX [id] ON [dbo].[dindanbukuan2]
- (
- [id] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- /****** Object: Index [autoid] Script Date: 2014/10/30 11:22:13 ******/
- CREATE UNIQUE NONCLUSTERED INDEX [autoid] ON [dbo].[dindansp]
- (
- [autoid] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- SET ANSI_PADDING ON
- GO
- /****** Object: Index [spid] Script Date: 2014/10/30 11:22:13 ******/
- CREATE NONCLUSTERED INDEX [spid] ON [dbo].[dindansp]
- (
- [spid] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- SET ANSI_PADDING ON
- GO
- /****** Object: Index [taoxiid] Script Date: 2014/10/30 11:22:13 ******/
- CREATE NONCLUSTERED INDEX [taoxiid] ON [dbo].[dindansp]
- (
- [id] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- SET ANSI_PADDING ON
- GO
- /****** Object: Index [gyid] Script Date: 2014/10/30 11:22:13 ******/
- CREATE UNIQUE NONCLUSTERED INDEX [gyid] ON [dbo].[gongyingshang]
- (
- [gyid] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- SET ANSI_PADDING ON
- GO
- /****** Object: Index [gyname] Script Date: 2014/10/30 11:22:13 ******/
- CREATE UNIQUE NONCLUSTERED INDEX [gyname] ON [dbo].[gongyingshang]
- (
- [gyname] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- /****** Object: Index [id] Script Date: 2014/10/30 11:22:13 ******/
- CREATE UNIQUE NONCLUSTERED INDEX [id] ON [dbo].[gudingfeiyong]
- (
- [id] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- /****** Object: Index [id] Script Date: 2014/10/30 11:22:13 ******/
- CREATE NONCLUSTERED INDEX [id] ON [dbo].[gudingfeiyongxiangmu]
- (
- [id] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- SET ANSI_PADDING ON
- GO
- /****** Object: Index [id] Script Date: 2014/10/30 11:22:13 ******/
- CREATE NONCLUSTERED INDEX [id] ON [dbo].[photoprint]
- (
- [id] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- SET ANSI_PADDING ON
- GO
- /****** Object: Index [id] Script Date: 2014/10/30 11:22:13 ******/
- CREATE UNIQUE NONCLUSTERED INDEX [id] ON [dbo].[renyuan]
- (
- [id] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- SET ANSI_PADDING ON
- GO
- /****** Object: Index [name] Script Date: 2014/10/30 11:22:13 ******/
- CREATE UNIQUE NONCLUSTERED INDEX [name] ON [dbo].[renyuan]
- (
- [name] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- /****** Object: Index [id] Script Date: 2014/10/30 11:22:13 ******/
- CREATE NONCLUSTERED INDEX [id] ON [dbo].[shangpinlb]
- (
- [id] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- SET ANSI_PADDING ON
- GO
- /****** Object: Index [name] Script Date: 2014/10/30 11:22:13 ******/
- CREATE UNIQUE NONCLUSTERED INDEX [name] ON [dbo].[shangpinlb]
- (
- [name] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- /****** Object: Index [id] Script Date: 2014/10/30 11:22:13 ******/
- CREATE UNIQUE NONCLUSTERED INDEX [id] ON [dbo].[singleincome]
- (
- [id] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- SET ANSI_PADDING ON
- GO
- /****** Object: Index [id] Script Date: 2014/10/30 11:22:13 ******/
- CREATE UNIQUE NONCLUSTERED INDEX [id] ON [dbo].[taoxi]
- (
- [taoxiid] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- SET ANSI_PADDING ON
- GO
- /****** Object: Index [PrimaryKey] Script Date: 2014/10/30 11:22:13 ******/
- CREATE UNIQUE NONCLUSTERED INDEX [PrimaryKey] ON [dbo].[taoxi]
- (
- [taoxiid] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- SET ANSI_PADDING ON
- GO
- /****** Object: Index [taoxiname] Script Date: 2014/10/30 11:22:13 ******/
- CREATE UNIQUE NONCLUSTERED INDEX [taoxiname] ON [dbo].[taoxi]
- (
- [taoxiname] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- /****** Object: Index [id] Script Date: 2014/10/30 11:22:13 ******/
- CREATE NONCLUSTERED INDEX [id] ON [dbo].[taoxishangpin1]
- (
- [id] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- SET ANSI_PADDING ON
- GO
- /****** Object: Index [spid] Script Date: 2014/10/30 11:22:13 ******/
- CREATE NONCLUSTERED INDEX [spid] ON [dbo].[taoxishangpin1]
- (
- [spid1] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- SET ANSI_PADDING ON
- GO
- /****** Object: Index [taoxiid] Script Date: 2014/10/30 11:22:13 ******/
- CREATE NONCLUSTERED INDEX [taoxiid] ON [dbo].[taoxishangpin1]
- (
- [taoxiid] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- /****** Object: Index [id] Script Date: 2014/10/30 11:22:13 ******/
- CREATE NONCLUSTERED INDEX [id] ON [dbo].[taoxishangpin2]
- (
- [id] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- SET ANSI_PADDING ON
- GO
- /****** Object: Index [spid] Script Date: 2014/10/30 11:22:13 ******/
- CREATE NONCLUSTERED INDEX [spid] ON [dbo].[taoxishangpin2]
- (
- [spid2] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- SET ANSI_PADDING ON
- GO
- /****** Object: Index [taoxiid] Script Date: 2014/10/30 11:22:13 ******/
- CREATE NONCLUSTERED INDEX [taoxiid] ON [dbo].[taoxishangpin2]
- (
- [taoxiid] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- SET ANSI_PADDING ON
- GO
- /****** Object: Index [account] Script Date: 2014/10/30 11:22:13 ******/
- CREATE UNIQUE NONCLUSTERED INDEX [account] ON [dbo].[user]
- (
- [account] ASC
- )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
- GO
- ALTER TABLE [dbo].[dindan] ADD DEFAULT ((0)) FOR [ImageStatus]
- GO
- ALTER TABLE [dbo].[files] ADD DEFAULT ((1)) FOR [FileType]
- GO
- ALTER TABLE [dbo].[files] ADD DEFAULT (getdate()) FOR [AddTime]
- GO
- ALTER TABLE [dbo].[files] ADD DEFAULT ((0)) FOR [Del]
- GO
- ALTER TABLE [dbo].[Part] ADD DEFAULT (getdate()) FOR [AddDate]
- GO
- ALTER TABLE [dbo].[Part] ADD DEFAULT ((0)) FOR [Del]
- GO
- ALTER TABLE [dbo].[Part] ADD DEFAULT ((1)) FOR [Disable]
- GO
- ALTER TABLE [dbo].[shangpin] ADD CONSTRAINT [DF_shangpin_spid] DEFAULT ('0') FOR [spid]
- GO
- USE [master]
- GO
- ALTER DATABASE [dbnull] SET READ_WRITE
- GO
|