Welcome to Sign in | Help
» Search

Search

You searched for the word(s):
Showing page 4 of 10 (94 total posts) < 1 second(s)
  • Re: View cu coloane not null

    Nu stiu daca ar trebui sa deskid un topic nou sau sa il pun tot in acesta dar are legatura cu not null .am urmatoarea tabela table numecol1 not null.daca aplic un bcp si anume : bcp tbl out c:\tbl.dat -S ''server'' -n -U ''user'' -P ''password''bcp tbl format nul -S ''server'' -n -U ''user'' -P ''password'' -f tbl.xml -xdupa care dau un select * ...
    Posted to Intrebari generale (Forum) by tebbaerty on November 25, 2009
  • Re: View cu coloane not null

    WOW..... super ... merge cu isnull :D. Este exact ceea ce vroiam. Pacat ca nu mi-a venit si mie ideea asta din prima ...Multumesc :D
    Posted to Intrebari generale (Forum) by tebbaerty on November 23, 2009
  • Re: View cu coloane not null

    Vreau sa creez un view peste 2 tabele dupa care acel view va fi transportat peste un linkserver in o alta baza de date.In baza de date destinate vreau sa creez pk inapoi si sa fac un update statistics.Problema e ca nu mai pot creea pk inapoi pentru ca coloana devine null.:(Desigur pot sa verific tipul coloanei ... sa creez un sql dinamic care sa ...
    Posted to Intrebari generale (Forum) by tebbaerty on November 20, 2009
  • View cu coloane not null

    Salut,Se poate crea un view in care sa fie explicit specificata proprietatea null sau not null pentru o anumita coloana ? un exemplu :create table1(col1 int not null primary key)create view as select -1 * row_number() over (col1) as&nbsp; col1 from table1unionselect col1 from table1va duce la crearea unui viu care are col1 de tip null.Acum noi ...
    Posted to Intrebari generale (Forum) by tebbaerty on November 20, 2009
  • Re: bcp

    YUPIIII .... Acum am vazut si eu ca lipseste -n care inseamna el native. Este exact ceea ce am nevoie .Multumesc mult :D
    Posted to Intrebari generale (Forum) by tebbaerty on October 8, 2009
  • Re: bcp

    dar vreau sa il fac de fiecare data. format file se face peste un view ce se poate modifica tot tp :(ai inteles bine
    Posted to Intrebari generale (Forum) by tebbaerty on October 8, 2009
  • Re: bcp

    trebuie sa fie ori IN or OUT or format. In cazul meu este format . nu ?
    Posted to Intrebari generale (Forum) by tebbaerty on October 8, 2009
  • bcp

    Salut,Nu stiu daca acesta este locul unde pot intreba asa ceva , dar aveti idee cum as putea automatiza bcp tabel_or_view format nul -S ''serverName'' -U ''userName'' -P ''******'' -f FormatFile.xml -x momentan daca rulezi aceasta comanda te vei trezi cu o serie de intrebari despre coloane unde trebuie sa dai enter..enter .... pana se termina ...
    Posted to Intrebari generale (Forum) by tebbaerty on October 8, 2009
  • Re: Select into vs Insert

    PS. Chestia cu ''CREATE TABLE tabela AS SELECT ... FROM ...'' nu există în SQL Server (ci doar în Oracle şi MySQL, cred). În SQL Server există doar ''INSERT INTO tabela SELECT ... FROM ...'' sau ''SELECT ... INTO tabela FROM ...''.&nbsp;da, greselea mea. Scuze.asa cum zice msdn The amount of logging for SELECT...INTO depends on the ...
    Posted to Intrebari generale (Forum) by tebbaerty on September 17, 2009
  • Re: Select into vs Insert

    &nbsp;Nu ma poate ajuta nimeni cu un raspuns sau o parere ? multumesc.
    Posted to Intrebari generale (Forum) by tebbaerty on September 7, 2009
« First ... < Previous 2 3 4 5 6 Next > ... Last »
Powered by Community Server (Commercial Edition), by Telligent Systems