all groups > sql server new users > june 2007 > threads for june 8 - 14, 2007
Filter by week: 1 2 3 4 5
Syntax error in converting datetime from character
Posted by SAC at 6/13/2007 11:05:19 AM
Still struggling with a conversion from a string to datetime. Would
actually like smalldatetime, but I'm not sure what to do.
Syntax error converting datetime from character string in a sp:
--**********************************************************
@OrderDate is in the format of mmddyy... more >>
count across columns?
Posted by HX at 6/13/2007 9:48:01 AM
I've imported a "report" from Excel that looks something like this:
CODE PC DM B WEB
1 x 5 x y
2 x
3 x y
I want to be able to count, for each record, how many of the columns have... more >>
OVER() Function
Posted by Karthik at 6/12/2007 12:00:00 AM
Hi All
I am Using SQL Server 2005
http://www.sqlteam.com/article/sql-sever-2005-using-over-with-aggregate-functions
This link explain about The Function In SQL Server 2005
But when I use the Same Query I give the Syntax Error
Any Idea about How do i use this function?
Thanks in ad... more >>
Change the default password policies
Posted by Stever at 6/10/2007 6:02:46 PM
I just upgraded from SQL 7 to Sql 2005 on Server 2003 sp2 r2. I had to
upgrade because one of the programs we own required the change for their new
version. Now my old no longer supported programs don't work. I suspect that
it is because they have weak passwords.
When I try to disable the ... more >>
sseUtil
Posted by GS at 6/9/2007 9:09:38 PM
I hope this is the right ng, could not find msde or sql server 2005
In sseutil.exe, how does one connect to an mdf file, say, c:\mydb.mdf
I tried c:\Microsoft\sqlExpressUtil\SSEUtil.exe -consolewnd -s
\SQLEXPRESS -a c:\mydb.mdf
It complained about more than one exec
tried c:\Microsoft\... more >>
How to install Client?
Posted by Miaohua Xu at 6/9/2007 5:52:02 PM
Hi,
A SQL Server 2005 is already running fine in one computer (WinXP) and now I
need to install client in another one(Win XP). What I need is very simple:
the client can connect to the server and execute some sql command. Is SQL
Native Client supposed to do this or not? Where can I find suc... more >>
Updateable results grid in SQL Management Studio?
Posted by Usenet User at 6/8/2007 9:41:56 AM
In SQL Enterprise Manager (2000) I can right-click a table and then
select Open Table > Query. In this mode I can specify a query, execute
it and then edit the results right there in the grid. This gives me
quick-and-dirty way to modify data w/o much hassle.
Is there a way to do the above in S... more >>
Insert statement not working
Posted by SAC at 6/8/2007 12:00:00 AM
In an insert statement I am attempting to add a number to a converted date.
The statement works fine if I leave out the +14. Here's the statement:
CONVERT(varchar(10),CONVERT(smalldatetime,[LESTDP]),101) +14 AS TTDT,
How should I do this?
Thanks.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How can I completely delete a user from a database that has been restored?
Posted by Stever at 6/8/2007 12:00:00 AM
I just reloaded our SQL server from the OS up. We were on SQL 7 but had to
load SQL 2005 as a requirement for one of the porgrams we own.
After the reload I restored all of the databases however as expected the
SID's of the users that were in the old database don't match the SIDs in the
new... more >>
|