我已经编程了一段时间,但从未接受过正规的计算机科学教育.我想知道是否有一个资源超过了关键编程概念,如构造,多态等,这些资源适用于不同的语言.如果资源提供示例,它也会非常有用.
在mysql我有3个表.一个是500,000,另一个是300,000,最后是大约5,000
他们每人每天可能会增加50-500行
我应该跑步analyze并optimize摆上桌子吗?如果是的话多久一次?
是否可以选择列并对它们执行复杂的操作,例如select factorial(column1) from table1或select integral_of(something) from table2
也许有图书馆支持这样的行动?
这是我的代码:
Sub isdofsodjisf48023jroi23f984444444jiodfiosj12348023jroi23f98()
Dim colFiles As New Collection
RecursiveDir colFiles, "C:\Documents and Settings\Alex Gordon\Desktop\testing\files\", "*.xls", True
Dim vFile As Variant
For Each vFile In colFiles
Call writeincells(vFile)
Next vFile
End Sub
Public Function RecursiveDir(colFiles As Collection, _
strFolder As String, _
strFileSpec As String, _
bIncludeSubfolders As Boolean)
Dim strTemp As String
Dim colFolders As New Collection
Dim vFolderName As Variant
'Add files in strFolder matching strFileSpec to colFiles
strFolder = TrailingSlash(strFolder)
strTemp = Dir(strFolder & strFileSpec)
Do While strTemp …Run Code Online (Sandbox Code Playgroud) 我需要使用SSMS从SQL Server 2008中的几个表导出数据.我不希望使用本地数据导出向导 ; 我想改用查询.这意味着我不能使用sqlcmd或bcp.
如何使用查询从SQL Server 2008导出数据?
我需要它以逗号分隔并双引号作为文本限定符.
非常感谢任何指导/帮助.
我有一组地址:
34 Main St Suite 23
435 Center Road Ste 3
34 Jack Corner Bldg 4
2 Some Street Building 345
Run Code Online (Sandbox Code Playgroud)
分隔符是:
Suite, Ste, Bldg, Building
Run Code Online (Sandbox Code Playgroud)
我想将这些地址分成address1这样address2的:
+---------------------+--------------+
| Address1 | Address2 |
+---------------------+--------------+
| 34 Main St | Suite 23 |
| 435 Center Road | Ste 3 |
| 34 Jack Corner | Bldg 4 |
| 2 Some Street | Building 345 |
+---------------------+--------------+
Run Code Online (Sandbox Code Playgroud)
如何以这种方式定义一组分隔符和分隔符?
我的应用程序在我的win 7 64位机器上运行良好.
我尝试在不同的win 7 64位机器上运行winforms visual studio 2008 .NET C#应用程序,现在我收到此错误:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80010001): Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))
at Microsoft.Office.Interop.Excel.WorkbookClass.get_Worksheets()
at EmailSalesVolumeSolution.WorkBook.OpenWorkBook() in C:\Users\agordon\Documents\Visual Studio 2008\Projects\SubversionRepository\Internal Application\EmailSalesVolumeSolution\EmailSalesVolumeSolution\WorkBook.cs:line 40
at EmailSalesVolumeSolution.WorkBook.CreateFiles(String column, Boolean isTest) in C:\Users\agordon\Documents\Visual Studio 2008\Projects\SubversionRepository\Internal Application\EmailSalesVolumeSolution\EmailSalesVolumeSolution\WorkBook.cs:line 144
at EmailSalesVolumeSolution.Form1.InitializeWorkBook(String filename) in C:\Users\agordon\Documents\Visual Studio 2008\Projects\SubversionRepository\Internal Application\EmailSalesVolumeSolution\EmailSalesVolumeSolution\Form1.cs:line 108
at EmailSalesVolumeSolution.Form1.button1_Click(Object sender, EventArgs e) …Run Code Online (Sandbox Code Playgroud)