Viewing 15 posts - 31 through 45 (of 55 total)
SSCrazy - (totally off topic but...) I agree wholeheartedly about Office 2007. I can't find anything and the help doesn't even let you look up the old menu sequence...
March 4, 2008 at 8:56 am
Thank you! I'm a wiz at MSWord but never thought to use it.
(Used to teach "Introduction to Microcomputer Applications" at the local college - when I started...
March 4, 2008 at 7:53 am
No, you are NOT the only one. I thought _I_ was doing something wrong. I copy Jeff's beautiful code and have to run through reinserting the line breaks....
March 4, 2008 at 7:41 am
Curses - web site ate the spacing in previous post.
March 4, 2008 at 7:25 am
Mannie,
If you inherited the db, it is what it is and you're stuck with it.
But if I were writing that query, I'd write:
SELECT a.bankid
,a.datum
,a.instruction
,a.amount
,a.description
,a.detail
FROM bs787 a left...
March 4, 2008 at 7:24 am
I still prefer KEYWORDS in all caps. Sure the IDE colorizes them for you but that doesn't help when you print the code on your old B/W laser printer....
March 3, 2008 at 9:13 am
'...performance will be terrible compared to the "UPDATE" method I wrote about, but the group sizes are small enough where most folks won't notice...'
Do you have a link to your...
February 18, 2008 at 7:07 am
That is almost exactly what we are doing.
We set the restored database to simple before making the subset and anonymizing the data. In fact, it's the...
October 26, 2007 at 7:50 am
Thank you. I learn so much from here.
Michael - Very nice solution! I've never worked with the INFORMATION_SCHEMA tables before, only sysobjects like Jeff Moden's solution to the same...
August 9, 2007 at 8:10 am
I ran Jeff's code (because I want to understand it!!) and got what I expected which is:
Shape,Length,Width,Color,Length side 1,Length side 2,Length hypotenuse
rectangle,8,10,blue,,,
square,12,,red,,,
triangle,,,yellow,3,4,5
I added another item to the data:
INSERT INTO @table1...
...UNION...
April 3, 2007 at 8:11 am
This would make a good "academic exercise" to teach yourself database design using MS Access. Check the MS Office Templates area on the MS web site. They have several collections templates...
May 11, 2005 at 11:03 am
Works great, Frank.
Also see: http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=119192&p=1
for similar solution.
April 18, 2005 at 9:14 am
I did it in a stand-alone VB program. I found this very helpful:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sqldmo/dmoref_con01_2yi7.asp
Set oSQLServer = CreateObject("SQLDMO.SQLServer2")
oSQLServer.LoginSecure = True
oSQLServer.Connect strSqlServerName
Set oDatabase = oSQLServer.Databases(strSqlDatabaseName)
For Each oDatabaseObject In oDatabase.Tables
If Not oDatabaseObject.SystemObject Then
strScript...
March 10, 2005 at 7:50 am
TRUNCATE also resets any IDENTITY column so it starts over from the seed value. DELETE does not. After a DELETE, new rows are numbered from where it left off.
March 4, 2005 at 7:33 am
DATEADD(d,DATEDIFF(d,0,[DateVar]),0)
is faster than
CONVERT(DATETIME,CONVERT(varchar(11), [DatVar]), 112)
Both simply set the time component to 12:00:00 AM.
We have a database with patient appointments and the ApptDate column is the date & time...
December 10, 2004 at 12:32 pm
Viewing 15 posts - 31 through 45 (of 55 total)