Re: kalender woche und sql server

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Frank

Danke für deine Antwort
Mit google habe ich glaub ich das gefunden was du meintest:
http://sqlteam.com/FORUMS/post.asp?method=TopicQuote&TOPIC_ID=49711&FORUM_ID=11

Mit BOL kann ich irgendwie nix anfangen

thx

Björn

"Frank Kalis" <nospam@xxxxxxxxxxxx> schrieb im Newsbeitrag
news:819D2F95-FCE3-4FF1-A2C8-0EB0A34771D3@xxxxxxxxxxxxxxxx
>
> "Björn" schrieb:
>
> > Mir ist aufgefallen das mir die Datepart funktion des Sql Servers nicht
die
> > richtige Kalenderwoche zurückgibt.
> > select datepart(wk,getdate()) = 6 obwohl nach Deutscher zählweise 5
> > rauskommen müsste.
> > Es handelt sich um einen deutschen ms sql server 2000 mit Sprache
Deutsch
> > und serversortierung latin1_general_ci_as
> > Hat jemand eine Idee was ich ändern muss damit die Deutsche
Kalenderwoche
> > rauskommt?
> > Google hat mir bis jetzt noch nicht weitergeholfen:(
> >
>
> Google vielleicht nicht, aber BOL "CREATE FUNCTION" und dann das Beispiel
zu
> IsoWeek schon. ;-)
> --
> Frank Kalis
> Microsoft SQL Server MVP
> http://www.insidesql.de
> Heute schon gebloggt? http://www.insidesql.de/blogs
>


.



Relevant Pages

  • Re: Cool SQL Presentation At IDUG North America
    ... Google has some great stuff for connecting maps with data. ... >>> you could present your SQL. ... >>> If you will not be present at the conference, ...
    (comp.databases.informix)
  • Re: Data Mining Breaking Changes?
    ... SQL 2005 exposes MINIMUM_SUPPORT instead of the above parameters in both ... and ...CLUSTER_CASES) and BOL is trying to push users into the new ... Previous versions of Analysis Services support using the ...
    (microsoft.public.sqlserver.datamining)
  • Re: Refactor query
    ... WITH is used to define a "common table expression" or cte for short. ... Check them out in BOL or google "Common Table Expressions". ... you can think of them as a view that exists only for one sql statement. ... COALESCE has been around a long time and a description can be found in BOL. ...
    (microsoft.public.sqlserver.programming)
  • Re: Database quandaries...
    ... I'm familiar with database manipulation in C++/MFC. ... here's a real dumb question: How do I *create* a SQL database? ... The best bet is to connect to a server and issue a DDL command to create the ... //Look for connection strings on google ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: SQL and Google (was: COBOL and DB2 vs. Java and DB2
    ... Do Google searches actually use SQL "under the covers"? ... Google database is MySQL. ... that SQL is less efficient than traditional mainframe databases, ...
    (comp.lang.cobol)